Skip to content
OpenAdvisories
High · 7.5 CVE-2026-49119 EUVD-2026-41115GHSA-j36p-7w88-g82jPYSEC-2026-2179

Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

Published Jul 1, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
gradio-app gradio < 6.16.0 6.16.0

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio < 6.16.0 6.16.0 GHSA-j36p-7w88-g82j

References