Input validation error in Gradio - CVE-2024-51751

 

Input validation error in Gradio - CVE-2024-51751

Published: November 6, 2024 / Updated: April 28, 2026


Vulnerability identifier: #VU128296
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-51751
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper input validation in File and UploadButton components when handling crafted file path data in requests. A remote user can send a specially crafted request to disclose sensitive information.

Only applications that use these components to preview or echo uploaded file content are vulnerable.


Affected software

Gradio

How to mitigate CVE-2024-51751

Install security update from vendor's website.

Gradio - update to 5.5.0

External References

Related Security Bulletins