Wiz Agents & Workflows are here

CVE-2024-39236
Gradio vulnerability analysis and mitigation

Overview

Gradio v4.36.1 contains a code injection vulnerability in the component /gradio/component_meta.py that can be triggered via crafted input. The vulnerability was discovered and disclosed in July 2024, affecting the Gradio Python package. The vendor has disputed this vulnerability, stating that the report describes a scenario where a user is attacking themselves (NVD, GitHub Advisory).

Technical details

The vulnerability exists in the create_pyi function within the component_meta.py file. The function does not properly validate input when users generate pyi files, which leads to code injection through jinja2 during rendering. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating high severity across confidentiality, integrity, and availability impacts (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary code through the create_pyi function. This could potentially lead to unauthorized code execution within the context of the application (Gradio PoC).

Community reactions

The vulnerability has been reported and tracked in the GitHub issue tracker, where it was marked as a blocking security issue. The vendor has disputed the vulnerability classification, arguing that the scenario described involves a user attacking themselves (Gradio Issue).

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