CVE-2024-51751 Arbitrary file read with File and UploadButton components in Gradio
MediumCVSS 6.5
EPSS 0.68%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gradio project gradio | >= 5.0.0, < 5.5.0 | 5.5.0 | Fixed |
| pypi gradio(PyPI) | = 5.0.0; = 5.0.1; = 5.0.2; = 5.1.0 +3 more | 5.5.0 | Fixed |
| gradio-app gradio | = >= 5.0.0, < 5.5.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi gradio(PyPI) | >= 5.0.0, < 5.5.0 | 5.5.0 |
| pypi gradio(PyPI) | = 5.0.0 | No fix listed |
| pypi gradio(PyPI) | = 5.0.1 | No fix listed |
| pypi gradio(PyPI) | = 5.0.2 | No fix listed |
| pypi gradio(PyPI) | = 5.1.0 | No fix listed |
| pypi gradio(PyPI) | = 5.3.0 | No fix listed |
| pypi gradio(PyPI) | = 5.4.0 | No fix listed |
| gradio-app gradio | = >= 5.0.0, < 5.5.0 | No fix listed |
| gradio project gradio | >= 5.0.0, < 5.5.0 | 5.5.0 |
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248 exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- github.com