PyPI: gradio

CVE-2024-0964

Safety vulnerability ID: SFTY-20240205-76113

Safety legacy ID: pyup.io-66708

A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.

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

Overview

Gradio Path Traversal vulnerability

Advisory

A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.

Affected Package

Affecting gradio package, versions<4.9.0

Also affects

---

How to Fix

Upgradegradioto4.9.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