CVE-2024-39236 Withdrawn Advisory: Gradio was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py
Crafted input in Gradio allows code injection, though the vendor disputes severity as it requires user self-attack.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-39236?
CVE-2024-39236 is a critical code injection vulnerability in Gradio Project Gradio, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. This vulnerability is triggered via a crafted input. NOTE: the supplier disputes this because the report is about a user attacking himself.
Weakness: CWE-94
Which versions are affected by CVE-2024-39236?
3 open source packages ship an affected version, including gradio and Gradio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gradio PyPI | All versions | None |
gradio PyPI | All versions to 4.36.1 | None |
Gradio PyPI | All versions | None |
Products include Gradio Project Gradio.
How do I fix CVE-2024-39236?
No fix has been published for CVE-2024-39236 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-39236 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39236 exists.
Other vulnerabilities in Gradio Project Gradio
- CVE-2023-6572 Command Injection in gradio-app/gradio
- CVE-2022-24770 Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
- CVE-2026-49119 Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()
- CVE-2025-23042 Gradio Blocked Path ACL Bypass Vulnerability
- CVE-2024-4325 Server-Side Request Forgery (SSRF) in gradio-app/gradio
Sources
Also known as GHSA-9v2f-6vcg-3hgv, PYSEC-2024-274.