CVE-2024-51751

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGradio
PublishedNov 6, 2024
First seenNov 6, 2024

How to fix

Update
  • gradio_project gradio5.5.0 or later
  • gradio5.5.0 or later

Affected products

ProductAffected versionsFixed in
gradio_project gradio5.0.0 ≤ v < 5.5.05.5.0
gradioPyPI5.0.0 ≤ v < 5.5.05.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.