CVE-2026-49119CWE-22

Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

High · published July 1, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
52.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
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
EPSS
0.00690 · 52.2th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-07-01T18:30Z
EPSS history
Timeline
  • 01 JUL 18:30Z
    Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
    cvelistv5