Advisory

GHSA-prpg-p95c-32fv

Also known as: CVE-2024-12217, PYSEC-2026-1418

Summary

Gradio Path Traversal vulnerability

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, last affected 5.0.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences