CVE-2024-48052 json
gradio Server Side Request Forgery vulnerability
published 2024-11-04 2 y ago modified 2026-09-10 1 mo ago also GHSA-3gf9-wv65-gwh9 , PYSEC-2026-1408 , EUVD-2024-3183
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rumbling-slice-eb0.notion.site https://rumbling-slice-eb0.notion.site/FULL-SSRF-in-gr-DownloadButton-in-gradio-app-gradio-870b21e0908b48cbafd914719ac1a4e6?pvs=4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gradio | <=4.42.0 |
no fix listed |
Affected products
- gradio_project gradio
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
rumbling-slice-eb0.notion.site
/FULL-SSRF-in-gr-DownloadButton-in-gradio-app-gradio-870b21e0908b48cbafd914719ac1a4e6?pvs=4
web, exploit, third-party-advisory
-
gist.github.com
/AfterSnows/45ffc23797f9127e00755376cc610e12
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-48052
advisory
-
github.com
/gradio-app/gradio
package
-
pypi.org
/project/gradio
package
-
github.com
/advisories/GHSA-3gf9-wv65-gwh9
advisory
Sources
- CVE List CVE-2024-48052
- GitHub Advisory GHSA-3gf9-wv65-gwh9
- NVD CVE-2024-48052
- OSV PYSEC-2026-1408
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.