CVE-2024-12217

MEDIUM

gradio - Path Traversal via NTFS Alternate Data Streams Bypass

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.3
EPSS 0.0032
EPSS Percentile 55.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
gradio-app/gradio-app/gradio unspecified - latest
pypi/gradio 0PyPI
Published Mar 20, 2025
Tracked Since Feb 18, 2026