CVE-2024-51751Gradio Project Gradio
Medium 6.5
Follow: this CVE · Gradio Project · Gradio Project Gradio We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- Nov 6, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
Gradio is an open-source Python package designed to enable quick builds of a demo or web application. If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse these components to read arbitrary files from the application server. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
- Apply the vendor's security update for Gradio.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gradio |
≥ 5.0.0 < 5.5.0 |
5.5.0 |
pip install "gradio>=5.5.0" |
| PyPI | gradio |
≥ 5.0.0 < 5.5.0 |
5.5.0 |
pip install "gradio>=5.5.0" |
Per OSV / GitHub Advisories (GHSA-rhm9-gp5p-5248, PYSEC-2024-275). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradio_project | gradio | ≥ 5.0.0 < 5.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory