CVE-2024-12217
MEDIUM 5.3CVSS 3.0Gradio Path Traversal vulnerability
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.
- Published
- 20 Mar 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-22CWE-41
- Also known as
- GHSA-prpg-p95c-32fvPYSEC-2026-1418
- Sources
- NVDJSONOSV GHSA-prpg-p95c-32fvJSONOSV PYSEC-2026-1418JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | gradio | <= 5.0.1 |
References
- https://huntr.com/bounties/0439bf3d-cb38-43a5-8314-0fadf85cc5a0 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12217 · ADVISORY
- https://github.com/gradio-app/gradio · PACKAGE
- https://github.com/gradio-app/gradio/blob/67e4044c9ca8358eceeb1fa72fa415df03397d20/gradio/utils.py#L1061-L1074 · WEB
- https://pypi.org/project/gradio · PACKAGE
- https://github.com/advisories/GHSA-prpg-p95c-32fv · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Mar 2025)