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.
History

Wed, 30 Jul 2025 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Gradio Project
Gradio Project gradio
CPEs cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
Vendors & Products Gradio Project
Gradio Project gradio
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-04-10T17:07:56.020Z

Updated: 2024-08-01T18:48:22.046Z

Reserved: 2024-02-21T21:56:46.825Z

Link: CVE-2024-1728

cve-icon Vulnrichment

Updated: 2024-08-01T18:48:22.046Z

cve-icon NVD

Status : Analyzed

Published: 2024-04-10T17:15:53.097

Modified: 2025-07-30T14:51:22.130

Link: CVE-2024-1728

cve-icon Redhat

No data.