CVE-2024-1727Gradio Project Gradio
Medium 4.3 No auth needed
Follow: this CVE · Gradio Project · Gradio Project Gradio We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.0
- 4.3
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 28
- Auth required
- No
- Published
- Mar 21, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
What happens
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
What to do
- Apply the vendor's security update for Gradio.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gradio |
< 4.19.2 |
4.19.2 |
pip install "gradio>=4.19.2" |
| PyPI | gradio |
< 4.19.2 |
4.19.2 |
pip install "gradio>=4.19.2" |
Per OSV / GitHub Advisories (GHSA-48cq-79qq-6f7x, PYSEC-2026-1409). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradio_project | gradio | ≥ 4.16.0 < 4.19.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.com Exploit Third Party Advisory