CVE-2024-12217: Path Traversal in gradio-app/gradio

Published Mar 20, 2025
·
Updated

A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blockedpath 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 Software

2 affected components
gradio gradio
pip/gradio<=5.0.1

Event History

Mar 20, 2025
CVE Published
via MITRE·10:11 AM
Data Sourced
via MITRE·10:11 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-12217?

CVE-2024-12217 is rated as a medium severity vulnerability due to its potential for path traversal on Windows OS.

2

How do I fix CVE-2024-12217?

To fix CVE-2024-12217, upgrade to a patched version of the gradio-app/gradio repository where the blocked_path functionality has been correctly implemented.

3

What does CVE-2024-12217 affect?

CVE-2024-12217 affects the Gradio application, particularly in versions prior to the fix for the path traversal vulnerability.

4

Can CVE-2024-12217 lead to data exposure?

Yes, CVE-2024-12217 can lead to unauthorized data exposure by allowing attackers to access restricted files on the system.

5

Is CVE-2024-12217 specific to any operating system?

Yes, CVE-2024-12217 specifically impacts Windows operating systems where the application is running.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203