CVE-2025-23042
Last modified
CVE-2025-23042 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.84% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | < 5.6.0 |
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3hExploit, Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-23042?
How severe is CVE-2025-23042?
How do I fix CVE-2025-23042?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-23037WeGIA is an open source web manager with a focus on the Port…5.4
- CVE-2025-23038WeGIA is an open source web manager with a focus on the Port…5.4
- CVE-2025-23039Caido is a web security auditing toolkit. A Cross-Site Scrip…5.2
- CVE-2025-2304A Privilege Escalation through a Mass Assignment exists in C…9.4
- CVE-2025-23040GitHub Desktop is an open-source Electron-based GitHub app d…6.6
- CVE-2025-23041Umbraco.Forms is a web form framework written for the nuget …5.3
- CVE-2025-23044PwnDoc is a penetration test report generator. There is no C…8.1
- CVE-2025-23045Computer Vision Annotation Tool (CVAT) is an interactive vid…9.8
- CVE-2025-23046GLPI is a free asset and IT management software package. Sta…7.5
- CVE-2025-23047Cilium is a networking, observability, and security solution…6.5
- CVE-2025-23048In some mod_ssl configurations on Apache HTTP Server 2.4.35 …9.1
- CVE-2025-23049Meridian Technique Materialise OrthoView through 7.5.1 allow…8.4
Are you affected by CVE-2025-23042?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
