LowVulnerability
GHSA-26jh-r8g2-6fpr: Gradio's dropdown component pre-process step does not limit the values to those in the dropdown list
- Identifier
- GHSA-26jh-r8g2-6fpr
- Published
- Record updated
- Affected
- gradio < 5.0.0
- Fixed in
- 5.0.0
Summary
Gradio's Dropdown component does not enforce its pre-process restriction to listed values, so setting allow_custom_value to False does not stop requests carrying arbitrary values. The source calls this a data validation issue that is not severe alone but can enable more serious problems when combined with other flaws, such as file downloads from the user's machine.
Mitigation
Upgrade to gradio>=5.0, which addresses the issue. Without upgrading, add manual validation in the prediction function that checks received values against the allowed dropdown values before processing them.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- gradioPyPILLM dependency since 2023-03-14, 11 tracked dependents
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database