GitHub Advisory Database
GHSA-f3h9-8phc-6gvh
Gradio Path Traversal vulnerability
Details
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | gradio | All versions before 4.9.0 (fixed in 4.9.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-0964
- https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70
- https://github.com/gradio-app/gradio
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-261.yaml
- https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741