Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
Gradio before 6.16.0 contain a path traversal vulnerability in the FileExplorer component's preprocess() method that allows unauthenticated attackers to escape the configured root directory by supplying path segments containing directory traversal sequences or absolute paths. Attackers can provide crafted path segments that cause os.path.join to discard the root_dir prefix entirely, resulting in arbitrary file read or exposure of sensitive files outside the intended directory.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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 | before 6.16.0 | 6.16.0 | Patch available | CNA |
| — | gradio (PyPI) | before 6.16.0 | 6.16.0 | Patch available | GHSA-j36p-7w88-g82j |
- gradio Vendorgradio-app Affected before 6.16.0 Fixed in 6.16.0 Patch available CNA
- gradio (PyPI) Vendor— Affected before 6.16.0 Fixed in 6.16.0 Patch available GHSA-j36p-7w88-g82j
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* | before 6.16.0 | Vulnerable | gradio-app |
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions before 6.16.0 Vulnerable ·gradio-app
Remediation
- Fix · CNA gradio (gradio-app) Fixed in 6.16.0
- Fix · GHSA-j36p-7w88-g82j gradio (PyPI) Fixed in 6.16.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49119
- 2026-10-03 Alias added: GHSA-j36p-7w88-g82j
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-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-2026-49119 · CVE Program
- CVE-2026-49119 · NVD
- FIRST EPSS
- GHSA-j36p-7w88-g82j · 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