Wiz Agents & Workflows are here

CVE-2024-2206
Gradio vulnerability analysis and mitigation

Overview

An SSRF (Server-Side Request Forgery) vulnerability has been identified in gradio-app/gradio (CVE-2024-2206), discovered in March 2024. The vulnerability exists in the /proxy route due to insufficient validation of user-supplied URLs. This security flaw affects the Hugging Face space infrastructure (NVD, Huntr).

Technical details

The vulnerability stems from inadequate validation of user-supplied URLs in the /proxy route. Attackers can exploit this by manipulating the self.replica_urls set through the X-Direct-Url header in requests to the / and /config routes. The vulnerability has been assigned a CVSS v3.0 base score of 7.3 (HIGH) with vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, indicating a high severity issue with network accessibility and no required privileges (NVD).

Impact

The vulnerability enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. This could lead to unauthorized access to internal resources and potential data exposure (NVD).

Mitigation and workarounds

A fix has been implemented and is available in the gradio-app/gradio repository. The patch addresses the vulnerability by improving the validation of URLs in the build_proxy_request function (Github).

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-2026-28416HIGH8.6
  • GradioGradio
  • gradio
NoYesFeb 27, 2026
CVE-2026-28414HIGH7.5
  • GradioGradio
  • gradio
NoYesFeb 27, 2026
CVE-2025-48889HIGH7.5
  • GradioGradio
  • gradio
NoYesMay 30, 2025
CVE-2026-27167MEDIUM5.9
  • GradioGradio
  • gradio
NoYesFeb 27, 2026
CVE-2026-28415MEDIUM4.7
  • GradioGradio
  • gradio
NoYesFeb 27, 2026

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