gradio
Affected
- introduced
0, fixed6.16.0(ecosystem)
Fixed versions
6.16.0
Fix
- Fixed version
6.16.0pip install --upgrade gradio==6.16.0
Advisory
Also known as: CVE-2026-49119, PYSEC-2026-2179
Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks
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.
High Basis: The source's own band: HIGH
0, fixed 6.16.0 (ecosystem)6.16.0
6.16.0pip install --upgrade gradio==6.16.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0