{"id":"CVE-2025-23042","published":"2025-01-14T18:49:16Z","modified":"2025-02-12T20:31:19Z","title":"Gradio Blocked Path ACL Bypass Vulnerability","vendor":"gradio-app","product":"gradio","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01037,"percentile":0.63136,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":12.63},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio","versions":["< 5.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-15T14:18:00.631692Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<5.11.0","<5.6.0"],"patched":["5.11.0","5.6.0"],"from":["GHSA-j2jg-fq62-7c3h","PYSEC-2025-118"],"provenance":"source"}],"summary":{"text":"Gradio, an open-source Python package for building machine learning demos and web applications, has a flaw in its file path Access Control List where blocked paths can be bypassed by changing the letter case of the path, because the validation logic does not normalise case. An unauthenticated remote attacker with no user interaction can exploit this over the network against a case-insensitive file system such as Windows or macOS to reach protected files and read sensitive information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:50Z"},"euvd":{"id":"EUVD-2025-0065","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-47871","published":"2024-10-10","fixed":"5.0.0","kev":false},{"cve":"CVE-2024-47872","published":"2024-10-10","fixed":"5.0.0","kev":false},{"cve":"CVE-2024-51751","published":"2024-11-06","fixed":"5.5.0","kev":false,"link":{"from":"CVE-2024-51751","to":"CVE-2025-23042","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gradio","fromFixed":"5.5.0","toFixed":"5.11.0","daysApart":69}]}},{"cve":"CVE-2025-23042","published":"2025-01-14","fixed":"5.11.0","kev":false},{"cve":"CVE-2025-48889","published":"2025-05-30","fixed":"5.31.0","kev":false,"link":{"from":"CVE-2025-23042","to":"CVE-2025-48889","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gradio","fromFixed":"5.11.0","toFixed":"5.31.0","daysApart":136}]}},{"cve":"CVE-2026-27167","published":"2026-02-27","fixed":"6.6.0","kev":false},{"cve":"CVE-2026-28415","published":"2026-02-27","fixed":"6.6.0","kev":false}],"package":"PyPI:gradio"}}