Vulnerability GHSA-j36p-7w88-g82j

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
3 months ago
July 01, 2026 at 09:36 PM UTC
Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks
0.1.0 - 6.15.2
0.1.0 - 6.15.2

Summary

Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks

Details

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.

Impacted packages

Timeline

Published
3 months ago
July 01, 2026 at 09:36 PM UTC
Fixed (6.16.0)
4 months ago
June 03, 2026 at 07:07 PM UTC
Last Modified
5 hours ago
October 02, 2026 at 06:55 PM UTC