CVE-2025-23042
CVE-2025-23042 is a high-severity vulnerability in Gradio Project Gradio with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-285.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 8.7
- EPSS exploit prediction: 1% (53rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-0065
- Weakness: CWE-285
- Affected product: Gradio Project Gradio
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-23042?
- 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.
- How severe is CVE-2025-23042?
- CVE-2025-23042 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-23042 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (53rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-23042?
- CVE-2025-23042 affects Gradio Project Gradio. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-23042?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-23042 have an EU (EUVD) identifier?
- Yes. CVE-2025-23042 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-0065.
- When was CVE-2025-23042 published?
- CVE-2025-23042 was published on 2025-01-14 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
More vulnerabilities in Gradio Project Gradio
- CVE-2024-47167 — Critical (CVSS 9.8): Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side…
- CVE-2024-39236 — Critical (CVSS 9.8): Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py.…
- CVE-2024-0964 — Critical (CVSS 9.4): A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API…
- CVE-2024-47871 — Critical (CVSS 9.1): Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure…
- CVE-2024-4253 — Critical (CVSS 9.1): A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the…
- CVE-2022-24770 — High (CVSS 8.8): `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version…
All CVEs affecting Gradio Project Gradio →
Other CWE-285 (Improper Authorization) vulnerabilities
- CVE-2025-65041 — Critical (CVSS 10.0): Improper authorization in Microsoft Partner Center allows an unauthorized attacker to elevate privileges over a network.
- CVE-2023-33189 — Critical (CVSS 10.0): Pomerium is an identity and context-aware access proxy. With specially crafted requests, incorrect authorization…
- CVE-2022-2595 — Critical (CVSS 10.0): Improper Authorization in GitHub repository kromitgmbh/titra prior to 0.79.1.
- CVE-2021-28799 — Critical (CVSS 10.0): An improper authorization vulnerability has been reported to affect QNAP NAS running HBS 3 (Hybrid Backup Sync. ) If…
- CVE-2026-34048 — Critical (CVSS 9.9): Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to…
- CVE-2026-5412 — Critical (CVSS 9.9): In Juju versions prior to 2.9.57 and 3.6.21, an authorization issue exists in the Controller facade. An authenticated…
Browse all CWE-285 (Improper Authorization) vulnerabilities →