CVE-2024-51751CWE-22

Arbitrary file read with File and UploadButton components in Gradio

Medium · published November 6, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
51.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00681 · 51.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-11-06T19:11Z
EPSS history
Timeline
  • 06 NOV 19:11Z
    Arbitrary file read with File and UploadButton components in Gradio
    cvelistv5