UTC
Critical

Gradio Blocked Path ACL Bypass Vulnerability

CVE-2025-23042 · GHSA-j2jg-fq62-7c3h · published 2025-01-14 · updated 2026-06-05

Severity
Critical
CVSS score
9.1
Chance of exploitation (EPSS)
1.00%
Fixed in
5.11.0
  • Exploitation Public proof of concept
  • Automatable Yes
  • Technical impact Partial
  • CISA SSVC
What it is

Unauthorized Access: Sensitive files or directories specified in blockedpaths can be accessed by attackers. Data Exposure: Critical files, such as configuration files or user data, may be leaked. Security Breach**: This can lead to broader application or system compromise if sensitive files contain credentials or API keys.

What to do

Upgrade gradio to 5.11.0 or later.

1. Normalize Path Case: Before evaluating paths against the ACL, normalize the case of both the requested path and the blocked paths (e.g., convert all paths to lowercase). Example: 2. Update Documentation: Warn developers about potential risks when deploying Gradio on case-insensitive file systems. 3. Release Security Patches: Notify users of the vulnerability and release an updated version of Gradio with the fixed logic.

Affected
PackageRegistryAffectedFixed in
gradioPyPI< 5.11.05.11.0

The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].