# CVE-2026-49119: Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-07-01T18:30:38.749Z
- Modified: 2026-11-08T14:04:39.918Z
- Also known as: GHSA-j36p-7w88-g82j, PYSEC-2026-2179
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- gradio-app gradio: before 6.16.0
- gradio (PyPI): before 6.16.0
- gradio_project gradio: before 6.16.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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: 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`

## 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

- CVE List: [CVE-2026-49119](https://www.cve.org/CVERecord?id=CVE-2026-49119), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-j36p-7w88-g82j](https://github.com/advisories/GHSA-j36p-7w88-g82j), CC-BY-4.0, modified 2026-10-02
- NVD: [CVE-2026-49119](https://nvd.nist.gov/vuln/detail/CVE-2026-49119), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2179](https://osv.dev/vulnerability/PYSEC-2026-2179), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-49119 · Whole record: https://cve.day/CVE-2026-49119.json · Rebuilt by cve.day 2026-11-25T22:59:26.948Z
