CVE-2026-49119 Details
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.
A path traversal vulnerability has been identified in Gradio versions prior to 6.16.0, specifically within the FileExplorer component's preprocess() method. This vulnerability allows unauthenticated attackers to escape the designated root directory by sending path segments that include directory traversal sequences or absolute paths. Exploitation of this issue could lead to arbitrary file reading or the exposure of sensitive files outside the intended directory.
Users can upgrade to Gradio version 6.16.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004 | [email protected] | Patch |
| https://github.com/gradio-app/gradio/pull/13437 | [email protected] | Issue TrackingPatch |
| https://github.com/gradio-app/gradio/releases/tag/gradio%406.16.0 | [email protected] | ProductRelease Notes |
| https://www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocess | [email protected] | PatchRelease NotesThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gradio project gradio | < 6.16.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jul 2, 2026 | Initial Analysis | [email protected] |
| Jul 2, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2026 | New CVE Received | [email protected] |