8.7high
Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.69% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-j36p-7w88-g82jPYSEC-2026-2179
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gradio-app gradio | before 6.16.0 | CVE List |
| gradio (PyPI) | before 6.16.0 | GitHub Advisory Database, PyPA Advisory Database |
| gradio_project gradio | before 6.16.0 | NVD |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Gradio anterior a la versión 6.16.0 contiene una vulnerabilidad de salto de ruta en el método preprocess() del componente FileExplorer que permite a atacantes no autenticados escapar del directorio raíz configurado al proporcionar segmentos de ruta que contienen secuencias de salto de directorio o rutas absolutas. Los atacantes pueden proporcionar segmentos de ruta manipulados que hacen que os.path.join descarte completamente el prefijo root_dir, lo que resulta en lectura arbitraria de archivos o la exposición de archivos sensibles fuera del directorio previsto.
References
| https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0 | advisory, product, release-notes, web | |
| https://github.com/gradio-app/gradio/pull/13437 | fix, issue-tracking, patch, web | |
| https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004 | fix, patch, web | |
| https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess | fix, patch, release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-49119 | advisory | |
| https://github.com/gradio-app/gradio | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-2179.yaml | web | |
| https://github.com/advisories/GHSA-j36p-7w88-g82j | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49119 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j36p-7w88-g82j changed 2026-10-02 | CC-BY-4.0 |
| NVD | CVE-2026-49119 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2179 changed 2026-10-15 | CC-BY-4.0 |