Skip to content
HighVulnerability

CVE-2026-49119: Gradio FileExplorer path traversal in preprocess() method

Identifier
CVE-2026-49119
Published
Record updated
View JSON
Affected
  • gradio < 6.16.0
Fixed in
6.16.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CVE-2026-49119 affects Gradio before 6.16.0. A path traversal flaw in the FileExplorer component's preprocess() method lets unauthenticated attackers escape the configured root directory using traversal sequences or absolute paths. Because os.path.join can discard the root_dir prefix, attackers may read arbitrary files outside the intended directory.

Mitigation

Fixed in Gradio 6.16.0, per the referenced release tag gradio@6.16.0.