Open redirect in Gradio - CVE-2026-28415
Published: April 28, 2026
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.