CVE-2026-28415: Gradio - Open Redirect
- Cve: CVE-2026-28415
- Name: Gradio - Open Redirect
- Description: Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, the _redirect_to_target() function in Gradio's OAuth flow accepts an unvalidated _target_url query parameter, allowing redirection to arbitrary external URLs. This affects the /logout and /login/callback endpoints on Gradio apps with OAuth enabled (i.e. apps running on Hugging Face Spaces with gr.LoginButton). Starting in version 6.6.0, the _target_url parameter is sanitized to only use the path, query, and fragment, stripping any scheme or host.
- Impact: Attackers can redirect users to malicious external sites, potentially leading to phishing or credential theft.
- Remediation: Update to version 6.6.0 or later.
- Vulnerability type: open_redirect
- Vulnerability impact: open_redirect
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.7
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- Epss score: 0.00284
- Epss percentile: 0.21007
- Assignee: [email protected]
- Published at: 2026-02-27T22:16:24Z
- Age in days: 270
- Modified at: 2026-06-17T10:28:34Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-28415
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
| CWE-601 | URL Redirection to Untrusted Site |
Hackerone
- Reports: 1
- Rank: 5211
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/gradio-app/gradio/security/advisories/GHSA-pfjf-5gxr-995x | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gradio_project:gradio | < 6.6.0 | no | nvd | /v1/products/gradio_project/gradio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gradio-app/gradio | commit, fix, package, releases, security_advisory | yes | /v1/repositories/gradio-app/gradio |
Index
- Repositories: 547
- Repositories high signal: 329
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 2932
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since