PT-2024-18256 · Gradio · Gradio

CVE-2024-1728

·

Published

2024-04-10

·

Updated

2026-06-29

CVSS v4.0

9.2

Critical

VectorAV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions gradio-app/gradio (affected versions not specified)
Description The issue is 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 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.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-1728
GHSA-3F95-MXQ2-2F63
GHSA-M842-4QM8-7GPQ
PYSEC-2026-345

Affected Products

Gradio