PyPA Advisory Database
PYSEC-2026-1414
Open redirect in gradio
Details
An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | gradio | All versions up to and including 4.36.1 |