In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | gradio (PyPI) | up to 4.42.0 | — | No fix listed | GHSA-3gf9-wv65-gwh9 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- gradio (PyPI) Vendor— Affected up to 4.42.0 Fixed in — No fix listed GHSA-3gf9-wv65-gwh9
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* | up to 4.42.0 | Vulnerable | gradio-app |
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions up to 4.42.0 Vulnerable ·gradio-app
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-48052
- 2026-10-03 Alias added: GHSA-3gf9-wv65-gwh9
References
Advisory 2
More gradio-app Gradio vulnerabilities
- TI-2024-26222 Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component… CVSS 3.1CRITICAL 9.8
- TI-2024-01607 Local File Inclusion in gradio-app/gradio CVSS 3.1HIGH 7.5
- TI-2024-00889 LFI in Gradio CVSS 3.1CRITICAL 9.4
- TI-2025-16852 Gradio Blocked Path ACL Bypass Vulnerability CVSS 4.0HIGH 8.7
- TI-2026-22690 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVSS 3.1HIGH 8.6
- TI-2024-09866 Path Traversal in gradio-app/gradio CVSS 3.0HIGH 8.2
Sources
- CVE-2024-48052 · CVE Program
- CVE-2024-48052 · NVD
- FIRST EPSS
- GHSA-3gf9-wv65-gwh9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences