CVE-2026-49119
published high CVSS 4.0 · 8.7Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gradio-app | — | gradio0 to < 6.16.0 · Other versions: affected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio | 0 to < 6.16.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- Fix Commit https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004
- Fix PR https://github.com/gradio-app/gradio/pull/13437
- gradio [email protected] Release Notes https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0
- https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess
Provider assertions
2VulnCheck · cna
Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b18ec8ec1f8d0ba9c97be139ef6a87ee6006fcd25efe2b675652a1a570e26102
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record