Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49119: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gradio-app gradio

0
High
VulnerabilityCVE-2026-49119cvecve-2026-49119
Published: 07/01/2026 (07/01/2026, 18:30:38 UTC)
Source: CVE Database V5
Vendor/Project: gradio-app
Product: gradio

Description

Gradio versions prior to 6.16.0 contain a path traversal vulnerability in the FileExplorer component's preprocess() method. This flaw allows unauthenticated attackers to bypass the configured root directory by using crafted path segments with directory traversal sequences or absolute paths. As a result, attackers can cause the root directory prefix to be discarded, enabling arbitrary file reads or exposure of sensitive files outside the intended directory. The vulnerability has a high severity score of 8.7 and does not require authentication or user interaction to exploit.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
gradio
pkg:github/gradio
Affected versions
<6.16.0

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

AILast updated: 07/01/2026, 19:36:18 UTC

Technical Analysis

CVE-2026-49119 is a path traversal vulnerability in gradio-app's gradio product affecting versions before 6.16.0. The issue exists in the FileExplorer component's preprocess() method, where improper handling of path segments allows attackers to escape the intended root directory. By supplying crafted path segments containing directory traversal sequences or absolute paths, attackers can manipulate os.path.join to discard the root_dir prefix entirely. This leads to unauthorized access to arbitrary files outside the restricted directory, potentially exposing sensitive information. The vulnerability is remotely exploitable without authentication or user interaction, reflected by a CVSS 4.0 score of 8.7 (high severity). No official patch or remediation guidance is currently documented.

Potential Impact

The vulnerability allows unauthenticated remote attackers to read arbitrary files on the system running vulnerable versions of gradio by escaping the configured root directory. This can lead to exposure of sensitive files outside the intended directory, posing confidentiality risks. There is no indication of privilege escalation, integrity, or availability impact beyond unauthorized file disclosure.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting access to the FileExplorer component or deploying compensating controls to limit exposure. Monitor vendor channels for updates regarding an official fix or mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/01/2026, 19:36:18 UTC

Last updated: 07/01/2026, 19:36:18 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses