Input validation error in Gradio - #VU128282

 

Input validation error in Gradio - #VU128282

Published: October 10, 2024 / Updated: April 28, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to bypass intended input constraints.

The vulnerability exists due to improper input validation in the Dropdown component pre-processing step when handling custom requests with arbitrary values. A remote attacker can send a specially crafted request to bypass intended input constraints.

This issue occurs even when the allow_custom_value parameter is set to false.


Affected software

Gradio

Remediation

Install security update from vendor's website.

Gradio - update to 5.0.0

External References

Related Security Bulletins