PT-2025-4788 · Gradio · Gradio
Jackfromeast
+1
·
Published
2025-01-14
·
Updated
2025-08-26
·
CVE-2025-23042
CVSS v4.0
9.1
Critical
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Gradio versions prior to 5.6.0
Description
Gradio's Access Control List (ACL) for file paths can be bypassed by altering the letter case of a blocked file or directory path due to the lack of case normalization in the file path validation logic. This issue can lead to unauthorized data access, exposing sensitive information and undermining the integrity of Gradio's security model. 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.
Recommendations
For Gradio versions prior to 5.6.0, upgrade to version 5.6.0 or later to address the vulnerability. As a temporary workaround, consider normalizing the case of both the requested path and the blocked paths (e.g., convert all paths to lowercase) before evaluating them against the ACL. Restrict access to sensitive files and directories until the issue is resolved.
Exploit
Fix
Improper Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gradio