CVE-2024-1728

Local File Inclusion in gradio-app/gradio

HIGH
7.5
CVSS Score
Published: April 10, 2024 at 05:07 PM UTC
Updated: June 17, 2026 at 07:04 AM UTC
2 products affected across 2 vendorsGradioProject Gradio

Using gradio-app/gradio by gradio-app?

Get instant alerts when new vulnerabilities affect gradio-app/gradio - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 85%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18.0 ≤ v < 4.19.2
Affected range stops below 4.19.2, so it looks safe — our inference, not a vendor statement
v < 4.19.2
Affected range stops below 4.19.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card