CVE-2024-1728

Local File Inclusion in gradio-app/gradio

Published Apr 10, 2024 CVSS 3.1 · 7.5 High EPSS 85.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3f95-mxq2-2f63 Gradio Local File Inclusion vulnerability
Github GHSA Github GHSA GHSA-m842-4qm8-7gpq Gradio allows users to access arbitrary files
History
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 6:48 PM
Reserved
Feb 21, 2024, 9:56 PM
Status
Analyzed
Published
Apr 10, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:04 AM