Unrated severityNVD Advisory· Published Jul 1, 2026· Updated Jul 14, 2026
Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
CVE-2026-49119
Description
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.
Affected products
1- Range: <6.16.0
Patches
Vulnerability mechanics
References
4- github.com/gradio-app/gradio/commit/97d541f3d5fd05b2587a69ecc94b68fe5d2d7004mitrepatch
- www.vulncheck.com/advisories/gradio-path-traversal-via-fileexplorer-preprocessmitrethird-party-advisory
- github.com/gradio-app/gradio/pull/13437mitreissue-tracking
- github.com/gradio-app/gradio/releases/tag/gradio%406.16.0mitrerelease-notes
News mentions
0No linked articles in our index yet.