Vulnerability DatabaseGHSA-26jh-r8g2-6fpr

GHSA-26jh-r8g2-6fpr
Gradio vulnerability analysis and mitigation

Overview

A data validation vulnerability (GHSA-26jh-r8g2-6fpr) was discovered in Gradio's dropdown component affecting versions prior to 5.0.0. The vulnerability was disclosed on October 10, 2024, and impacts the pre-processing step of the Gradio Dropdown component. The issue allows attackers to bypass input validation restrictions even when the allowcustomvalue parameter is set to False (GitHub Advisory).

Technical details

The vulnerability has been assigned a CVSS v4.0 score of 2.7 (Low severity) with the following vector: 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. The vulnerability exists in the pre-processing step of the Dropdown component, where the input validation mechanism fails to properly restrict values to those specified in the dropdown list (GitHub Advisory).

Impact

While the vulnerability itself is considered low severity, it can potentially lead to more serious security issues when combined with other vulnerabilities, particularly those involving file downloads from the user's machine. The main impact is the ability to bypass developer-intended input constraints, which could affect the integrity of the application's data validation mechanisms (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Gradio version 5.0.0 and users are recommended to upgrade to this version or later. For those unable to upgrade immediately, a workaround is available: developers can implement manual validation in their prediction function to verify received values against the allowed dropdown values before processing them (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Gradio vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48889HIGH7.5
  • GradioGradio
  • gradio
NoYesMay 30, 2025
CVE-2024-8966HIGH7.5
  • GradioGradio
  • gradio
NoNoMar 20, 2025
CVE-2025-5320MEDIUM6.3
  • GradioGradio
  • gradio
NoNoMay 29, 2025
CVE-2024-8021MEDIUM6.1
  • GradioGradio
  • gradio
NoNoMar 20, 2025
CVE-2024-12217MEDIUM5.3
  • GradioGradio
  • gradio
NoNoMar 20, 2025

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