Vulnerability · Published Jul 1, 2026 · Assigned by VulnCheck

CVE-2026-49119Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

High 7.5

In plain English

A high-severity path traversal in gradio from gradio-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 47.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgradio6.16.0GHSA-j36p-7w88-g82j
PyPIgradio6.16.0PYSEC-2026-2179

Affected products (as reported)

VendorProductVersions
gradio-app gradio 0 – before 6.16.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References