Skip to content
GradioPYSEC-2026-2179

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 c

High7.5CVE-2026-49119 · Published Jul 1, 2026 · updated Jul 13, 2026

Source advisory

Affected versions

PackageAffectedFixed in
gradio
PyPI
< 6.16.06.16.0

Changes since it was listed

DateChange
Sep 24Severity: Unrated to High
Details and references

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 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity from
NVD
Also known as
CVE-2026-49119

More Gradio advisories

All Gradio
DateAdvisory
Jun 4Gradio: Audio cache key ignores metadata when saving numpy audio outputs
CVE-2026-10783Low2.5fixed in 6.15.1
May 27Gradio contains a cookie injection vulnerability
CVE-2026-48545High6.8fixed in 6.15.0
Mar 1Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing
CVE-2026-28416High8.2fixed in 6.6.0
Mar 1Gradio has an Open Redirect in its OAuth Flow
CVE-2026-28415Medium4.3fixed in 6.6.0
Mar 1Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+
CVE-2026-28414High7.5fixed in 6.7.0
Mar 1Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret
CVE-2026-27167Low0.0fixed in 6.6.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.