---
title: "CVE-2025-23042: Gradio Blocked Path ACL Bypass Vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-23042/
description: "CVE-2025-23042 (gradio (PyPI)): Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-01-14
date_modified: 2026-06-05
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-23042"
kev: false
cvss: 8.7
epss: 0.00997
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-23042: Gradio Blocked Path ACL Bypass Vulnerability

**Signal:** Normal patch cycle. No exploitation signal; fix it in your next routine update if you are affected. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.0% , percentile 62: FIRST’s model estimates a 1.0% chance of exploitation activity in the next 30 days, higher than 62% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes gradio (PyPI) < 5.11.0, fixed in 5.11.0 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- PyPI `gradio` < 5.11.0 → fixed: 5.11.0

## Affected products (CVE record)

- gradio-app gradio: < 5.6.0

## Severity

- GitHub_M CVSS 4.0: 8.7 `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`
- GitHub CVSS 4.0: 9.1 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 1.00% probability of exploitation activity in the next 30 days; percentile 62.

## Sources

- [GitHub Advisory GHSA-j2jg-fq62-7c3h](https://github.com/advisories/GHSA-j2jg-fq62-7c3h)
- [CVE.org record CVE-2025-23042](https://www.cve.org/CVERecord?id=CVE-2025-23042)
- [NVD entry CVE-2025-23042](https://nvd.nist.gov/vuln/detail/CVE-2025-23042)
- [github.com](https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h)
- [github.com](https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8)
- [github.com](https://github.com/gradio-app/gradio/releases/tag/gradio%405.11.0)
- [github.com](https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-118.yaml)

---
Source page: https://erroneo.us/security/cve/CVE-2025-23042/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
