HighVulnerability
CVE-2025-23042: Gradio access control bypass via case-altered file paths
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-23042
- Published
- Record updated
- Affected
- gradio < 5.11.0
- Fixed in
- 5.11.0
- released January 8, 2025, 7 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.0%
Summary
CVE-2025-23042 affects Gradio, an open-source Python package for building demos and web applications for machine learning models. Gradio's Access Control List for file paths can be bypassed by changing the letter case of a blocked file or directory path, because the validation logic performs no case normalization. On case-insensitive file systems such as those on Windows and macOS, attackers can reach sensitive files that should be protected.
Mitigation
Fixed in release version 5.6.0. Users are advised to upgrade. There are no known workarounds.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- gradioPyPILLM dependency since 2023-03-14 · 11 tracked dependents
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online