Skip to main content
← All vulnerabilities
CVE-2025-23042PYSEC-2025-118GHSA-J2JG-FQ62-7C3H

Gradio Blocked Path ACL Bypass Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.6.0, 5.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gradio-app gradio

    fixed in 5.6.0

  • gradioPyPI

    fixed in 5.6.0

  • gradioPyPI

    fixed in 5.11.0

References 1

GitHub · gradio-app/gradio