CVE-2024-48052Gradio 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.7% probability of exploitation in 30 days · percentile 48
- Auth required
- Yes
- Published
- Nov 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- 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
In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request forgery (SSRF) vulnerability. The reason is that within the save_url_to_cache function, there are no restrictions on the URL, which allows access to local target resources. This can lead to the download of local resources and sensitive information.
What to do
- Apply the vendor's security update for Gradio.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gradio |
≤ 4.42.0 |
no fixed version | — |
| PyPI | gradio |
≤ 4.42.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-3gf9-wv65-gwh9, PYSEC-2026-1408). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradio_project | gradio | ≤ 4.42.0 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Third Party Advisory
- rumbling-slice-eb0.notion.site Exploit Third Party Advisory