Read the docs
TI-2024-34656 Aliases CVE-2024-51751GHSA-rhm9-gp5p-5248

Arbitrary file read with File and UploadButton components in Gradio

Priority MEDIUM 62CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00681 52nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gradio (gradio-app): 5.5.0gradio (PyPI): 5.5.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gradio-appgradio5.0.0 to before 5.5.05.5.0Patch availableCNA
—gradio (PyPI)5.0.0 to before 5.5.05.5.0Patch availableGHSA-rhm9-gp5p-5248
  • gradio Vendorgradio-app Affected 5.0.0 to before 5.5.0 Fixed in 5.5.0 Patch available CNA
  • gradio (PyPI) Vendor— Affected 5.0.0 to before 5.5.0 Fixed in 5.5.0 Patch available GHSA-rhm9-gp5p-5248

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*5.0.0 to before 5.5.0Vulnerablegradio-app
  • cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions 5.0.0 to before 5.5.0 Vulnerable ·gradio-app

Remediation

  • Fix · CNA gradio (gradio-app) Fixed in 5.5.0
  • Fix · GHSA-rhm9-gp5p-5248 gradio (PyPI) Fixed in 5.5.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-51751
  2. 2026-10-03 Alias added: GHSA-rhm9-gp5p-5248

References

  • TI-2024-26222 Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component… CVSS 3.1CRITICAL 9.8
  • TI-2024-01607 Local File Inclusion in gradio-app/gradio CVSS 3.1HIGH 7.5
  • TI-2024-00889 LFI in Gradio CVSS 3.1CRITICAL 9.4
  • TI-2025-16852 Gradio Blocked Path ACL Bypass Vulnerability CVSS 4.0HIGH 8.7
  • TI-2026-22690 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVSS 3.1HIGH 8.6
  • TI-2024-09866 Path Traversal in gradio-app/gradio CVSS 3.0HIGH 8.2
See all 49 →

Sources