Path Traversal in Gradio-App Gradio
CVE-2024-51751
Gradio is an open-source Python package designed to enable quick builds of a demo or web application. If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse these components to read arbitrary files from the application server. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.007, 53.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gradio-App Gradio — versions >= 5.0.0, < 5.5.0
- Gradio Project
Weakness classification (CWE)
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248 (Exploit, Third Party Advisory)