Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-49119

Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gradio-app gradio

Default version status: affected

  • 0 to < 6.16.0affected
pkg:github/gradio-app/gradio

References