p PatchFirst

CVE-2024-51751

CVE-2024-51751 · Arbitrary file read with File and UploadButton components in Gradio

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.7% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • gradio

    Versions
    • >= 5.0.0, < 5.5.0: Affected

    No fix published

  • gradio PyPI

    Versions
    • 5.0.0
    • 5.0.1
    • 5.0.2
    • 5.1.0
    • 5.3.0
    • 5.4.0
    Affected ranges
    • ECOSYSTEM: ≥ 5.0.0, < 5.5.0

    Update to 5.5.0

Original sources

Check your server →