Skip to main content
← All vulnerabilities
CVE-2024-51751GHSA-RHM9-GP5P-5248PYSEC-2024-275

Arbitrary file read with File and UploadButton components in Gradio

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gradio-app gradio

    From 5.0.0 · fixed in 5.5.0

  • gradioPyPI

    From 5.0.0 · fixed in 5.5.0

References 1

GitHub · gradio-app/gradio