CVE-2026-49119
HIGH 8.7CVSS 4.0Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks
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.
- Published
- 1 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-j36p-7w88-g82jPYSEC-2026-2179
- Sources
- NVDJSONOSV GHSA-j36p-7w88-g82jJSONOSV PYSEC-2026-2179JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
< 6.16.0 | 6.16.0 |
| OSV | PyPI | gradio | < 6.16.0 | 6.16.0 |
References
- https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004 · Patch, WEB, FIX
- https://github.com/gradio-app/gradio/pull/13437 · Issue Tracking, Patch, WEB, FIX
- https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0 · Product, Release Notes, WEB, ADVISORY
- https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess · Patch, Release Notes, Third Party Advisory, WEB, FIX
- 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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 1 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Jul 2026)