CVE-2024-1728

HIGH NUCLEI

gradio 4.18.0-4.19.2 - Path Traversal and Arbitrary File Read via UploadButton Queue Join Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2024-1728 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.

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.8539
EPSS Percentile 99.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

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