CVE-2025-23042 json
Gradio Blocked Path ACL Bypass Vulnerability
published 2025-01-14 21 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-0065 , GHSA-j2jg-fq62-7c3h , PYSEC-2025-118
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi gradio 5.6.0, 5.11.0
- gradio_project gradio 5.6.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
1.00% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gradio | <5.11.0 <5.6.0 |
5.11.0 5.6.0 |
Affected products
- gradio-app gradio
Classification
References
-
github.com
/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8
web
-
github.com
/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h
web, exploit, mitigation, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2025-23042
advisory
-
github.com
/gradio-app/gradio
package
-
github.com
/gradio-app/gradio/releases/tag/gradio%405.11.0
web
-
github.com
/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-118.yaml
web
Sources
- CVE List CVE-2025-23042
- GitHub Advisory GHSA-j2jg-fq62-7c3h
- NVD CVE-2025-23042
- OSV PYSEC-2025-118
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.