Live threats

All CVEs / Gradio Project

CVE-2024-51751Gradio Project Gradio

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
Nov 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gradio.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gradio ≥ 5.0.0 < 5.5.0 5.5.0 pip install "gradio>=5.5.0"
PyPI gradio ≥ 5.0.0 < 5.5.0 5.5.0 pip install "gradio>=5.5.0"

Per OSV / GitHub Advisories (GHSA-rhm9-gp5p-5248, PYSEC-2024-275). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio≥ 5.0.0 < 5.5.0

Official sources

References

Links published by the sources. Open them with care.