CVE-2026-28415
published medium CVSS 3.1 · 4.3Gradio has Open Redirect in OAuth Flow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gradio-app | — | gradio< 6.6.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio | < 6.6.0 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-284 CWE-284: Improper Access Control
- CWE-330 CWE-330: Use of Insufficiently Random Values
- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
1Provider assertions
2GitHub_M · cna
Gradio has Open Redirect in OAuth Flow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ce6090cb3c3c83f7a97eac92dcb21d085f355ba1ed215bd48f21fc0c94178ce
- Ingested
- 23 Sep 2026, 09:08:14 UTC
- Source record
- Official CVE record