Vulnerability · Published Jul 1, 2026 · Assigned by VulnCheck
CVE-2026-49119Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
High 7.5
In plain English
A high-severity path traversal in gradio from gradio-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | gradio | 6.16.0 | GHSA-j36p-7w88-g82j |
| PyPI | gradio | 6.16.0 | PYSEC-2026-2179 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gradio-app | gradio | 0 – before 6.16.0 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- Release Notes release-notes
- Fix PR issue-tracking
- Fix Commit patch
- https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess third-party-advisory