CVE-2024-1728CWE-22

Local File Inclusion in gradio-app/gradio

High · published April 10, 2024

Patch now

High probability of exploitation

CVSS calls it high at 7.5. It sits in the 99.7th percentile for exploit probability.

CVSS v3.0
7.5
EPSS
85%
Percentile
99.7
In the wild
Unconfirmed
What it is

gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.85393 · 99.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-04-10T17:07Z
EPSS history
Timeline
  • 10 APR 17:07Z
    Local File Inclusion in gradio-app/gradio
    cvelistv5