Local File Inclusion in gradio-app/gradio
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- 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 |
|---|---|---|---|---|---|
| gradio-app | gradio-app/gradio | before 4.19.2 | 4.19.2 | Patch available | CNA |
| — | gradio (PyPI) | before 4.19.2 | 4.19.2 | Patch available | GHSA-m842-4qm8-7gpq |
- gradio-app/gradio Vendorgradio-app Affected before 4.19.2 Fixed in 4.19.2 Patch available CNA
- gradio (PyPI) Vendor— Affected before 4.19.2 Fixed in 4.19.2 Patch available GHSA-m842-4qm8-7gpq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* | 4.18.0 to before 4.19.2 | Vulnerable | gradio-app |
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions 4.18.0 to before 4.19.2 Vulnerable ·gradio-app
Remediation
- Fix · CNA gradio-app/gradio (gradio-app) Fixed in 4.19.2
- Fix · GHSA-m842-4qm8-7gpq gradio (PyPI) Fixed in 4.19.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-1728
- 2026-10-03 Alias added: GHSA-m842-4qm8-7gpq
References
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-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
- TI-2024-01437 Command Injection in gradio-app/gradio via deploy+test-visual.yml workflow CVSS 3.1HIGH 8.2
Sources
- CVE-2024-1728 · CVE Program
- CVE-2024-1728 · NVD
- FIRST EPSS
- GHSA-m842-4qm8-7gpq · 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