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.0: 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/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Gradio
Affected software:
Gradio

Detailed vulnerability description

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.


Remediation

Install security update from vendor's website.

Sources