CVE-2024-1728

HIGH NUCLEI

Gradio < 4.19.2 - Path Traversal

Title source: rule

Description

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.

Nuclei Templates (1)

Gradio > 4.19.1 UploadButton - Path Traversal
HIGHVERIFIEDby isacaya
Shodan: html:"__gradio_mode__"

Scores

CVSS v3 7.5
EPSS 0.8651
EPSS Percentile 99.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-22
Status published
Products (2)
gradio_project/gradio 4.18.0 - 4.19.2
pypi/gradio 0 - 4.19.2PyPI
Published Apr 10, 2024
Tracked Since Feb 18, 2026