Input validation error in Gradio - #VU128282
Published: October 10, 2024 / Updated: April 28, 2026
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.