Skip to content
GradioGHSA-7v2w-h4gh-w5cv

Gradio Vulnerable to Open Redirect

Medium5.4CVE-2024-8021 · Published Mar 20, 2025 · updated Jul 7, 2026

An open redirect vulnerability exists in the latest version of gradio-app/gradio. The vulnerability allows an attacker to redirect users to a malicious website by URL encoding. This can be exploited by sending a crafted request to the application, which results in a 302 redirect to an attacker-controlled site.

GitHub advisory

Affected versions

PackageAffectedFixed in
gradio
PyPI
<= 4.37.2No fix yet
Details and references
CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-601
Also known as
CVE-2024-8021, PYSEC-2026-1411

More Gradio advisories

All Gradio
Advisory
Gradio DOS in multipart boundry while uploading the file
High7.5Mar 20, 2025
Gradio Path Traversal vulnerability
Medium5.3Mar 20, 2025
Gradio Vulnerable to Denial of Service (DoS) via Crafted Zip Bomb
High7.5Mar 20, 2025
Gradio Vulnerable to Arbitrary File Deletion
High8.2Mar 20, 2025
Gradio Vulnerable to Denial of Service (DoS) via Crafted HTTP Request
High7.5Mar 20, 2025
Gradio Blocked Path ACL Bypass Vulnerability
CriticalJan 14, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.