CVE-2026-49119: Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

Published Jul 1, 2026
·
Updated

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 rootdir prefix entirely, resulting in arbitrary file read or exposure of sensitive files outside the intended directory.

Affected Software

2 affected components
gradio gradio<6.16.0
Gradio Project Gradio Python<6.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade gradio to a version that resolves this vulnerability.

    Fixed in 6.16.0
  2. Compensating control

    Ensure the FileExplorer component is protected so unauthenticated users cannot access the FileExplorer.preprocess() endpoint (e.g., require authentication / restrict access) until the Gradio version is upgraded to 6.16.0 or later.

Event History

Jul 1, 2026
CVE Published
via MITRE·06:30 PM
Data Sourced
via MITRE·06:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-49119?

The severity of CVE-2026-49119 is rated as high with a CVSS score of 8.7.

2

How do I fix CVE-2026-49119?

To fix CVE-2026-49119, upgrade Gradio to version 6.16.0 or later.

3

What is the impact of CVE-2026-49119?

CVE-2026-49119 allows unauthenticated attackers to exploit a path traversal vulnerability and potentially access files outside the configured root directory.

4

Which versions of Gradio are affected by CVE-2026-49119?

CVE-2026-49119 affects all versions of Gradio prior to 6.16.0.

5

What component of Gradio is vulnerable in CVE-2026-49119?

The vulnerability in CVE-2026-49119 exists in the FileExplorer component's preprocess() method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203