Read the docs
TI-2025-16852 Aliases CVE-2025-23042GHSA-j2jg-fq62-7c3h

Gradio Blocked Path ACL Bypass Vulnerability

Priority HIGH 77CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.

Summary

Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Gradio's Access Control List (ACL) for file paths can be bypassed by altering the letter case of a blocked file or directory path. This vulnerability arises due to the lack of case normalization in the file path validation logic. On case-insensitive file systems, such as those used by Windows and macOS, this flaw enables attackers to circumvent security restrictions and access sensitive files that should be protected. This issue can lead to unauthorized data access, exposing sensitive information and undermining the integrity of Gradio's security model. Given Gradio's popularity for building web applications, particularly in machine learning and AI, this vulnerability may pose a substantial threat if exploited in production environments. This issue has been addressed in release version 5.6.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00997 62nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gradio (gradio-app): 5.6.0gradio (PyPI): 5.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gradio-appgradiobefore 5.6.05.6.0Patch availableCNA
—gradio (PyPI)before 5.11.05.11.0Patch availableGHSA-j2jg-fq62-7c3h
  • gradio Vendorgradio-app Affected before 5.6.0 Fixed in 5.6.0 Patch available CNA
  • gradio (PyPI) Vendor— Affected before 5.11.0 Fixed in 5.11.0 Patch available GHSA-j2jg-fq62-7c3h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*before 5.6.0Vulnerablegradio-app
  • cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions before 5.6.0 Vulnerable ·gradio-app

Remediation

  • Fix · CNA gradio (gradio-app) Fixed in 5.6.0
  • Fix · GHSA-j2jg-fq62-7c3h gradio (PyPI) Fixed in 5.11.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-23042
  2. 2026-10-03 Alias added: GHSA-j2jg-fq62-7c3h

References

  • TI-2024-26222 Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component… CVSS 3.1CRITICAL 9.8
  • TI-2024-01607 Local File Inclusion in gradio-app/gradio CVSS 3.1HIGH 7.5
  • TI-2024-00889 LFI in Gradio CVSS 3.1CRITICAL 9.4
  • TI-2026-22690 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVSS 3.1HIGH 8.6
  • TI-2024-09866 Path Traversal in gradio-app/gradio CVSS 3.0HIGH 8.2
  • TI-2024-01437 Command Injection in gradio-app/gradio via deploy+test-visual.yml workflow CVSS 3.1HIGH 8.2
See all 49 →

Sources