Gradio Vulnerable to Arbitrary File Deletion
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | gradio | >= 4.0.0, <= 5.0.0b2 | no fix |
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
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H- Weakness (CWE)
CWE-29- Platform
- Python (PyPI)
- Package
gradio- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1417 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-pgfv-gvc5-prfg - CC BY 4.0
Vulnerability history: gradio
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 51
- First → latest
- 12.2021 07.2026
- Without a fix
- 13
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 19
- Medium 22
- Low 5
Disclosures per year
- 2021: 1
- 2022: 1
- 2023: 5
- 2024: 28
- 2025: 9
- 2026: 7
-
Gradio Vulnerable to Arbitrary File Deletion this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.