LiveActive security incident?Get immediate response
CVE Record

CVE-2026-28415: Gradio has Open Redirect in OAuth Flow

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.

MediumCVSS 4.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2026-28415 is an open redirect in Gradio’s OAuth flow. A user interacting with login or logout could be sent to an attacker-controlled external site. This is mainly a phishing and trust-abuse risk, not direct server compromise. Gradio fixed it in version 6.6.0.

Executive priority

Treat as a near-term hygiene fix for internet-facing or user-facing Gradio apps with OAuth. It is not described as a remote code execution issue, but it can undermine user trust and enable phishing through legitimate application URLs.

Technical view

Before Gradio 6.6.0, _redirect_to_target() accepted an unvalidated _target_url query parameter. On OAuth-enabled Gradio apps, including Hugging Face Spaces using gr.LoginButton, /logout and /login/callback could redirect to arbitrary external URLs. The fix sanitizes _target_url to retain only path, query, and fragment, removing scheme and host.

Likely exposure

Exposure is limited to Gradio applications below 6.6.0 with OAuth enabled, specifically including apps on Hugging Face Spaces using gr.LoginButton. Non-OAuth Gradio apps are not described as affected in the provided sources.

Exploitation context

The issue requires user interaction and network access. Sources do not report active exploitation, and the CVE is not listed as KEV. Practical impact is redirecting users to attacker-controlled sites, which can support phishing or social engineering.

Researcher notes

The advisory maps this to CWE-601 among other CWEs. The relevant attack surface is /logout and /login/callback when OAuth is enabled. Do not assume broader Gradio exposure beyond the affected conditions stated in the source bundle.

Mitigation direction

  • Upgrade Gradio to version 6.6.0 or later.
  • Identify OAuth-enabled Gradio apps using gr.LoginButton.
  • Review vendor advisory for any environment-specific guidance.
  • Avoid relying on user-controlled redirect URLs in authentication flows.

Validation and detection

  • Inventory deployed Gradio versions and flag versions below 6.6.0.
  • Confirm whether affected apps enable OAuth login flows.
  • Check for use of gr.LoginButton, especially on Hugging Face Spaces.
  • Verify upgraded instances use Gradio 6.6.0 or later.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-200: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-284: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-330: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-601: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-28415 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N2.81.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.3Medium
CVSS 3.1 vector shape for CVE-2026-28415Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
gradio-appgradio< 6.6.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.