CVE-2024-51751
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.
How to fix
- gradio_project gradio5.5.0 or later
- gradio5.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gradio_project gradio | 5.0.0 ≤ v < 5.5.0 | 5.5.0 |
| gradioPyPI | 5.0.0 ≤ v < 5.5.0 | 5.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.