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
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.
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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| gradio | PyPI | < 5.11.0 | 5.11.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- CriticalGradio allows users to access arbitrary filesgradio
- CriticalGradio Exposure of Sensitive Information to an Unauthorized Actor vulnerabilitygradio
- CriticalFiles on the host computer can be accessed from the Gradio interfacegradio
- HighGradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacksgradio
- HighGradio contains a cookie injection vulnerabilitygradio
- HighGradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+gradio
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.