Overview
Gradio Path Traversal vulnerability
Advisory
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.
How to Fix
Upgradegradioto4.9.0or higher.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240205-76113/CVE-2024-0964
- https://nvd.nist.gov/vuln/detail/CVE-2024-0964
- https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70
- https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-261.yaml
- https://github.com/advisories/GHSA-f3h9-8phc-6gvh
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
