Skip to content
HighVulnerability

CVE-2025-23042: Gradio access control bypass via case-altered file paths

Identifier
CVE-2025-23042
Published
Record updated
View JSON
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.