What’s Vulnerable › Vulnerabilities
CVE-2024-12217: Path Traversal in gradio-app/gradio
- Severity: medium (CVSS 5.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-20 · updated 2026-06-17
- Weakness: CWE-22
Description
A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path functionality, which is intended to disallow users from reading certain files, is flawed. Specifically, while the application correctly blocks access to paths like 'C:/tmp/secret.txt', it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as 'C:/tmp/secret.txt::$DATA'. This flaw can lead to unauthorized reading of blocked file paths.
Affected products
- gradio-app gradio: through latest
References
- https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0
- https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0
Get alerted when CVE-2024-12217 or the next vulnerability affects your stack