CVE-2026-49119: Gradio - Path Traversal
- Cve: CVE-2026-49119
- Name: Gradio - Path Traversal
- 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.
- Impact: Unauthenticated attackers can read arbitrary files outside the intended directory, potentially exposing sensitive information.
- Remediation: Update to version 6.16.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0069
- Epss percentile: 0.53747
- Assignee: [email protected]
- Published at: 2026-07-01T19:16:52Z
- Age in days: 146
- Modified at: 2026-10-25T16:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49119
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004 | Patch |
| https://github.com/gradio-app/gradio/pull/13437 | Issue Tracking, Patch |
| https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess | Patch, Release Notes, Third Party Advisory |
| https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gradio_project:gradio | < 6.16.0 | no | nvd | /v1/products/gradio_project/gradio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gradio-app/gradio | commit, fix, package, pull, releases | yes | /v1/repositories/gradio-app/gradio |
Index
- Repositories: 562
- Repositories high signal: 338
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 2932
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports