CVE-2024-1728: 
Gradio vulnerability analysis and mitigation

Overview

A local file inclusion vulnerability (CVE-2024-1728) was discovered in gradio-app/gradio's UploadButton component. The vulnerability stems from improper validation of user-supplied input, allowing attackers to read arbitrary files on the filesystem by manipulating file paths in requests to the /queue/join endpoint (NVD, Red Hat CVE).

Technical details

The vulnerability exists in the handling of file upload paths in the UploadButton component. Attackers can exploit this by manipulating the file path in requests to the /queue/join endpoint, potentially accessing sensitive files like private SSH keys. The issue could potentially escalate to remote code execution due to the ability to redirect file uploads to unintended locations on the server (NVD).

Impact

The vulnerability allows unauthorized access to arbitrary files on the filesystem, including sensitive files such as private SSH keys. Additionally, there is potential for remote code execution through manipulation of file upload paths (NVD).

Exploitability

The vulnerability can be exploited by manipulating file paths in requests to the /queue/join endpoint, specifically targeting the UploadButton component's file handling mechanism (NVD).

Mitigation and workarounds

A fix has been implemented in the gradio-app/gradio repository through a commit that prevents components from working with non-uploaded files (GitHub Commit).

Additional resources


Source: This report was generated using AI

Related Gradio vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-49119HIGH8.7
  • Gradio logoGradio
  • gradio
NoYesJul 01, 2026
CVE-2026-28416HIGH8.6
  • Gradio logoGradio
  • gradio
NoYesFeb 27, 2026
CVE-2026-48545HIGH7.6
  • Gradio logoGradio
  • gradio
NoYesMay 27, 2026
CVE-2026-28415MEDIUM4.7
  • Gradio logoGradio
  • gradio
NoYesFeb 27, 2026
CVE-2026-10783LOW1.1
  • Gradio logoGradio
  • gradio
NoYesJun 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management