Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-12217 EUVD-2025-7028GHSA-prpg-p95c-32fvPYSEC-2026-1418

Path Traversal in gradio-app/gradio

Published Mar 20, 2025 · Updated Mar 20, 2025 · Assigned by @huntr_ai

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

VendorProductAffectedFixed
gradio-app gradio-app/gradio unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio <= 5.0.1 — GHSA-prpg-p95c-32fv

References