PyPI: gradio

SFTY-20240319-39172

Safety legacy ID: pyup.io-66799

Gradio version 4.22.0 addresses a race condition that impacted the synchronization between state and loading status updates. This fix is crucial for preventing potential vulnerabilities that could disrupt service, such as denial of service (DoS) attacks. https://github.com/gradio-app/gradio/commit/84f81fec9287b041203a141bbf2852720f7d199c

Created at: Nov 5, 2025Updated at: Nov 5, 2025

Overview

Gradio version 4.22.0 addresses a race condition that impacted the synchronization between state and loading status updates. This fix is crucial for preventing potential vulnerabilities that could disrupt service, such as denial of service (DoS) attacks. https://github.com/gradio-app/gradio/commit/84f81fec9287b041203a141bbf2852720f7d199c

Advisory

Gradio version 4.22.0 addresses a race condition that impacted the synchronization between state and loading status updates. This fix is crucial for preventing potential vulnerabilities that could disrupt service, such as denial of service (DoS) attacks. https://github.com/gradio-app/gradio/commit/84f81fec9287b041203a141bbf2852720f7d199c

Affected Package

Affecting gradio package, versions<4.22.0

Also affects

---

How to Fix

Upgradegradioto4.22.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more