CVE-2026-49119: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gradio-app gradio
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.
AI Analysis
Technical Summary
CVE-2026-49119 is a path traversal vulnerability in gradio-app's gradio product affecting versions before 6.16.0. The vulnerability exists in the FileExplorer component's preprocess() method, where improper handling of path segments allows attackers to bypass directory restrictions. By supplying specially crafted path segments containing directory traversal sequences or absolute paths, attackers can manipulate os.path.join to discard the root_dir prefix, enabling unauthorized access to files outside the designated root directory. This vulnerability requires no authentication and has a CVSS 4.0 score of 8.7, indicating high severity.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the system outside the intended root directory. This may lead to exposure of sensitive information or configuration files, potentially compromising confidentiality. There is no indication of privilege escalation, integrity, or availability impact in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the vulnerable component and monitor for suspicious activity related to file access. Avoid exposing the FileExplorer component to untrusted users. Follow vendor updates closely for an official fix or temporary mitigation.
CVE-2026-49119: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gradio-app gradio
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49119 is a path traversal vulnerability in gradio-app's gradio product affecting versions before 6.16.0. The vulnerability exists in the FileExplorer component's preprocess() method, where improper handling of path segments allows attackers to bypass directory restrictions. By supplying specially crafted path segments containing directory traversal sequences or absolute paths, attackers can manipulate os.path.join to discard the root_dir prefix, enabling unauthorized access to files outside the designated root directory. This vulnerability requires no authentication and has a CVSS 4.0 score of 8.7, indicating high severity.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the system outside the intended root directory. This may lead to exposure of sensitive information or configuration files, potentially compromising confidentiality. There is no indication of privilege escalation, integrity, or availability impact in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the vulnerable component and monitor for suspicious activity related to file access. Avoid exposing the FileExplorer component to untrusted users. Follow vendor updates closely for an official fix or temporary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-27T17:40:12.737Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4568cf27e9c79719fe3668
Added to database: 07/01/2026, 19:21:51 UTC
Last enriched: 07/15/2026, 10:05:48 UTC
Last updated: 08/15/2026, 00:41:13 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.