ADVISORIES

Vulnerability

CVE-2026-49119

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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories

  • GHSA-j36p-7w88-g82j

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

    High CVE-2026-49119 PyPI Updated 2 October 2026
  • PYSEC-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…

    CVE-2026-49119 PyPI Updated 15 October 2026

References