Advisory

PYSEC-2024-275

Also known as: CVE-2024-51751, GHSA-rhm9-gp5p-5248

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2024-11-06 20:15 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 5.0.0, fixed 5.5.0 (ecosystem)

Fixed versions

5.5.0

Fix

  • Fixed version 5.5.0
    pip install --upgrade gradio==5.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences