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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | gradio | From 4.0.0 up to and including 5.0.0b2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10648
- https://github.com/gradio-app/gradio
- https://github.com/gradio-app/gradio/blame/98cbcaef827de7267462ccba180c7b2ffb1e825d/gradio/processing_utils.py#L234
- https://huntr.com/bounties/667d664d-8189-458c-8ed7-483fe8f33c76
- https://pypi.org/project/gradio
- https://github.com/advisories/GHSA-pgfv-gvc5-prfg