CVE-2023-41626 Gradio arbitrary file upload vulnerability
Attackers can upload arbitrary files via the /upload interface in Gradio, potentially leading to remote code execution.
- 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-2023-41626?
CVE-2023-41626 is a medium-severity vulnerability in Gradio Project Gradio, published on 15 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Gradio v3.27.0 was discovered to contain an arbitrary file upload vulnerability via the /upload interface.
Weakness: CWE-434
Which versions are affected by CVE-2023-41626?
3 open source packages ship an affected version, including gradio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gradio PyPI | All versions to 3.27.0 | None |
gradio PyPI | All versions to 3.27.0 | None |
gradio PyPI | All versions to 3.27.0 | None |
Products include Gradio Project Gradio.
How do I fix CVE-2023-41626?
No fix has been published for CVE-2023-41626 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-41626 being exploited?
There is no known exploitation of CVE-2023-41626 in the wild and no public exploit code.
Other vulnerabilities in Gradio Project Gradio
- CVE-2024-39236 Withdrawn Advisory: Gradio was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py
- 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
Sources
Also known as GHSA-v4q9-qgqf-7jwp, PYSEC-2026-1422.