MediumGHSA-prpg-p95c-32fvCVE-2024-12217PYSEC-2026-1418

Gradio Path Traversal vulnerability

Published 20 Mar 2025 · Updated 7 Jul 2026

Is your project on an affected gradio?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

gradioPyPI
Affected
<=5.0.1
Fixed in
No fix released

Details

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.

Is GHSA-prpg-p95c-32fv in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gradio, and gives you the command that fixes it.

More advisories for gradio

  • HighCVE-2026-49119 Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks · 1 Jul 2026
  • LowCVE-2026-10783Gradio: Audio cache key ignores metadata when saving numpy audio outputs · 4 Jun 2026
  • HighCVE-2026-48545Gradio contains a cookie injection vulnerability · 27 May 2026
  • HighCVE-2026-28416Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing · 1 Mar 2026
  • MediumCVE-2026-28415Gradio has an Open Redirect in its OAuth Flow · 1 Mar 2026
  • HighCVE-2026-28414Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+ · 1 Mar 2026
All 52 advisories for gradio

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.