GradioPYSEC-2026-2179
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 c
High7.5CVE-2026-49119 · Published Jul 1, 2026 · updated Jul 13, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| gradio PyPI | < 6.16.0 | 6.16.0 |
Changes since it was listed
| Date | Change |
|---|---|
| Sep 24 | Severity: Unrated to High |
Details and references
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.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity from
- NVD
- Also known as
- CVE-2026-49119
More Gradio advisories
All Gradio| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 4 | Gradio: Audio cache key ignores metadata when saving numpy audio outputs CVE-2026-10783Low2.5fixed in 6.15.1 | Low2.5 | 6.15.1 |
| May 27 | Gradio contains a cookie injection vulnerability CVE-2026-48545High6.8fixed in 6.15.0 | High6.8 | 6.15.0 |
| Mar 1 | Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVE-2026-28416High8.2fixed in 6.6.0 | High8.2 | 6.6.0 |
| Mar 1 | Gradio has an Open Redirect in its OAuth Flow CVE-2026-28415Medium4.3fixed in 6.6.0 | Medium4.3 | 6.6.0 |
| Mar 1 | Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+ CVE-2026-28414High7.5fixed in 6.7.0 | High7.5 | 6.7.0 |
| Mar 1 | Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret CVE-2026-27167Low0.0fixed in 6.6.0 | Low0.0 | 6.6.0 |