# CVE-2025-23042: Gradio Blocked Path ACL Bypass Vulnerability

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-14T16:32:22.000Z
- Modified: 2026-06-17T08:51:39.013Z
- Also known as: GHSA-j2jg-fq62-7c3h, PYSEC-2025-118
- Weaknesses: CWE-178, CWE-285
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gradio-app gradio: < 5.6.0
- gradio (PyPI): before 5.11.0; before 5.6.0
- gradio_project gradio: before 5.6.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h> (exploit, evidence, mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-23042> (advisory)
- <https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8> (web)
- <https://github.com/gradio-app/gradio> (package)
- <https://github.com/gradio-app/gradio/releases/tag/gradio%405.11.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-118.yaml> (web)

## Sources

- CVE List: [CVE-2025-23042](https://www.cve.org/CVERecord?id=CVE-2025-23042), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-j2jg-fq62-7c3h](https://github.com/advisories/GHSA-j2jg-fq62-7c3h), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2025-23042](https://nvd.nist.gov/vuln/detail/CVE-2025-23042), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-118](https://osv.dev/vulnerability/PYSEC-2025-118), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-23042 · Whole record: https://cve.day/CVE-2025-23042.json · Rebuilt by cve.day 2026-11-25T22:58:53.320Z
