Gradio Blocked Path ACL Bypass Vulnerability
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gradioPyPI | < 5.11.0 | 5.11.0 |
Affected products
2- Range: < 5.6.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-j2jg-fq62-7c3hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-23042ghsaADVISORY
- github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8ghsaWEB
- github.com/gradio-app/gradio/releases/tag/gradio%405.11.0ghsaWEB
- github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3hghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-118.yamlghsaWEB
News mentions
0No linked articles in our index yet.