Phishing redirects via unsanitized OAuth target URL
Published Feb 27, 2026 · Updated Feb 27, 2026
Open redirect in Gradio before 6.6.0 allows remote attackers to send users to arbitrary sites through crafted OAuth endpoint URLs. The _redirect_to_target() function passes the unvalidated _target_url query value directly to RedirectResponse, preserving an attacker-controlled scheme and host. OAuth must be enabled and a user must follow a crafted /logout or /login/callback link; the redirect supports phishing but does not expose server data.
Summary
What happened
Open redirect in Gradio before 6.6.0 allows remote attackers to send users to arbitrary sites through crafted OAuth endpoint URLs. The _redirect_to_target() function passes the unvalidated _target_url query value directly to RedirectResponse, preserving an attacker-controlled scheme and host. OAuth must be enabled and a user must follow a crafted /logout or /login/callback link; the redirect supports phishing but does not expose server data.
The record
- CVE
- CVE-2026-28415
- Published
- Feb 27, 2026
- Updated
- Feb 27, 2026
- Vendor
- Gradio
- Product
- Gradio
- Classifications
- CWE-601, CWE-200, CWE-284, CWE-330, T1204.001, T1566.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 27, 2026CVE publishedPublication date reported by the CVE source.
- Feb 27, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.6.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Maintainer advisory crafted logout URLproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo