CVE-2024-1728

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
10/04/2024
Last modified:
30/07/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* 4.18.0 (including) 4.19.2 (excluding)