Path Traversal in Gradio-App Gradio-App/gradio

CVE-2024-12217

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.006 (47.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-12217?
CVE-2024-12217 is a medium-severity vulnerability in Gradio-App Gradio-App/gradio, classified under Path Traversal. CVSS score: 5.3/10. Published 2025-03-20.
How severe is CVE-2024-12217?
Medium severity. CVSS v3 base score is 5.3 out of 10.