PyPI: gradio

CVE-2023-41626

Safety vulnerability ID: SFTY-20230915-04160

Safety legacy ID: pyup.io-65231

Gradio v3.27.0 was discovered to contain an arbitrary file upload vulnerability via the /upload interface.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Gradio arbitrary file upload vulnerability

Advisory

Gradio v3.27.0 was discovered to contain an arbitrary file upload vulnerability via the /upload interface.

Affected Package

Affecting gradio package, versions==3.27.0

Also affects

---

How to Fix

Upgradegradioto3.28.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more