Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-51751 EUVD-2024-3309GHSA-rhm9-gp5p-5248PYSEC-2024-275

Arbitrary file read with File and UploadButton components in Gradio

Published Nov 6, 2024 · Updated Nov 6, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gradio-app gradio >= 5.0.0, < 5.5.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio >= 5.0.0, < 5.5.0 5.5.0 GHSA-rhm9-gp5p-5248

References