Open redirect in Gradio - CVE-2026-28415

 

Open redirect in Gradio - CVE-2026-28415

Published: April 28, 2026


Vulnerability identifier: #VU128300
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-28415
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Gradio
Affected software:
Gradio

Detailed vulnerability description

The vulnerability allows a remote attacker to redirect users to an arbitrary external site.

The vulnerability exists due to url redirection to an untrusted site in the _redirect_to_target() function in Gradio's OAuth flow when handling a user-controlled _target_url query parameter. A remote attacker can send a specially crafted link to redirect users to an arbitrary external site.

User interaction is required, and the issue affects the /logout and /login/callback endpoints when OAuth is enabled.


How to mitigate CVE-2026-28415

Install security update from vendor's website.

Sources