CVE-2026-49119
Published:July 01, 2026
Updated:July 21, 2026
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
gradio (CONDA):
Affected version(s) >=3.16.2 <6.16.0Fix Suggestion:
Update to version 6.16.0https://github.com/gradio-app/gradio.git (GITHUB):
Affected version(s) >=gradio@3.41.0 <gradio@6.16.0Fix Suggestion:
Update to version gradio@6.16.0gradio (PYTHON):
Affected version(s) >=0.1.0 <6.16.0Fix Suggestion:
Update to version 6.16.0Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.69