INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-8021

Gradio Vulnerable to Open Redirect

CVE-2024-8021 ยท 2025-03-20 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Other weaknesses
Affected
gradio (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.8% chance of exploitation in 30 days

How it works, in short

A URL-encoded crafted request makes the server return a 302 redirect to an attacker-chosen external site. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.