Path Traversal in Gradio-App Gradio

CVE-2026-49119

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.007 (49.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-49119?
CVE-2026-49119 is a high-severity vulnerability in Gradio-App Gradio, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-07-01.
How severe is CVE-2026-49119?
High severity. CVSS v3 base score is 7.5 out of 10.