ADVISORIES

PyPA Advisory Database

PYSEC-2026-1417

Gradio Vulnerable to Arbitrary File Deletion

Details

A path traversal vulnerability exists in the Gradio Audio component of gradio-app/gradio, as of version git 98cbcae. This vulnerability allows an attacker to control the format of the audio file, leading to arbitrary file content deletion. By manipulating the output format, an attacker can reset any file to an empty file, causing a denial of service (DOS) on the server.

Affected packages

EcosystemPackageAffected versions
PyPIgradio
From 4.0.0 up to and including 5.0.0b2

References