Skip to main content

Authorizer CVE-2026-35511

HIGH
Improper Authentication (CWE-287)
2026-08-14 https://github.com/authorizerdev/authorizer GHSA-29rf-f4vv-pvq6
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register unverified account with victim email
  2. Delivery
    victim initiates normal OAuth login
  3. Exploit
    callback resolves account by email match
  4. Install
    OAuth identity merged into attacker-controlled account
  5. C2
    email auto-verified, password never invalidated
  6. Execute
    attacker authenticates with original password
  7. Impact
    persistent full account access achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two conditions must be met in sequence. First, Authorizer must permit email/password self-registration without requiring email verification as a prerequisite to account activation - the attacker's account must exist in the database with EmailVerifiedAt = nil. Second, the legitimate owner of the targeted email address must initiate an OAuth login via any provider configured in Authorizer (Google, GitHub, Apple, Microsoft, LinkedIn, Twitter, Discord, Twitch, Roblox, or Facebook). No network positioning, no authentication to the Authorizer service, and no exploitation of secondary vulnerabilities is required. Exploitation is limited by the requirement that the victim actively initiates an OAuth login - accounts where the legitimate user only ever authenticates via password are not exploited by this specific attack path, though they can be pre-staged and remain at risk if the user ever adds OAuth login. Deployments that disable email/password registration entirely, enforce email verification before account creation is committed to the database, or have no users who utilize OAuth login are not vulnerable to the pre-staging step.

Impact

No official NVD or vendor CVSS score was provided for this CVE; the vector below is independently assessed. The attack requires no elevated privileges - only the ability to register an unverified account via the public signup flow - and imposes no technical complexity on the attacker once the account is pre-staged. The victim's routine OAuth login is the sole trigger, making this effectively a passive, zero-click account takeover from the victim's perspective. No CISA KEV listing was identified at time of analysis, so active exploitation by threat actors has not been confirmed. However, the GHSA advisory (GHSA-29rf-f4vv-pvq6) contains a complete, step-by-step attack chain with exact source code references, substantially lowering the barrier to exploitation by any motivated actor. The vulnerability affects every OAuth provider configured in Authorizer, which in typical deployments includes Google and Microsoft - high-value targets. A patched release (2.4.0-rc.16) exists, but the fix is a release candidate rather than a stable GA release, which may slow adoption. The persistence characteristic - attacker retains password-based access even after the victim revokes the OAuth grant from the provider - elevates real-world impact well beyond what a transient session hijack would entail.

Exploit ScenarioDerived

An attacker identifies an organization running Authorizer and registers an account using the victim's corporate email address (e.g., victim@company.com) through the normal public signup page, setting a known password but deliberately skipping the email verification step. Days or weeks later, the victim signs in via Google OAuth as normal; the callback handler at line 164 silently merges the Google identity into the attacker's pre-staged account, auto-verifies the email at lines 179-181, and leaves the attacker's original password intact. The attacker then logs in with victim@company.com and their original password, gaining full persistent access to all session data, even after the victim later revokes Authorizer's authorization from their Google account settings.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

Account takeover in Authorizer's OAuth callback handler allows an unauthenticated attacker to pre-stage persistent backdoor access to any victim account by registering an unverified email address before the victim completes a routine OAuth login. The attack exploits a trust boundary violation in internal/http_handlers/oauth_callback.go (lines 125-219): the handler merges any incoming OAuth identity into the first database account matching by email, auto-verifies that account's email, and never invalidates the original password - leaving the attacker's credential fully active. No public exploit code has been independently confirmed, but the GHSA advisory contains a complete, line-referenced attack chain that makes independent reproduction trivial.

RemediationAI

Upgrade to Authorizer release 2.4.0-rc.16 or any build at or after commit 66fe488fd2a4e7acf1e517334344d5e8f3ddd296, available at https://github.com/authorizerdev/authorizer/releases/tag/2.4.0-rc.16. The patch enforces an email verification contract: OAuth identity linking is refused when the matched account's email is not already verified by its original owner, and a boot-time check now prevents startup when email verification is enabled without a working SMTP service. If an immediate upgrade is not possible, disable public email/password self-registration so attackers cannot pre-stage unverified accounts - this eliminates the prerequisite for the attack but removes basic auth as a login method for all users. As a secondary compensating control, audit existing accounts with EmailVerifiedAt = nil and remove or invalidate any that were not recently created by legitimate users, as pre-staged accounts may already exist. Operators using Microsoft Entra (Azure AD) should additionally review the vendor's new docs/email-verification-contract.md guidance and consider pinning --microsoft-tenant-id or configuring --microsoft-allowed-tenants to mitigate the related nOAuth attack class introduced by Entra's unverified mutable email attribute.

Affected Packages

go github.com/authorizerdev/authorizer fix: 0.0.0-20260807033110-66fe488fd2a4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Authorizer (pkg:go/github.com/authorizerdev/authorizer) is an open-source Go-based authentication and authorization server supporting password, magic-link, and federated OAuth login across providers including Google, GitHub, Apple, Microsoft, LinkedIn, Twitter, Discord, Twitch, Roblox, and Facebook. The vulnerability is classified as CWE-287 (Improper Authentication) and resides in the OAuth callback handler at internal/http_handlers/oauth_callback.go. The root cause is a trust boundary violation: the function GetUserByEmail resolves an existing account solely by email address (line 125) and then unconditionally merges the incoming OAuth identity into that account (line 164) regardless of whether the matched account's email ownership was ever established by its registered owner. Lines 179-181 compound the flaw by auto-verifying the email if EmailVerifiedAt is nil, which legitimizes the pre-staged attacker account. Critically, no step clears or rotates the original password credential, so the account retains both the OAuth identity and the attacker-controlled password as co-equal authentication methods. The vulnerability is verified against HEAD commit 73679fa and affects all configured OAuth providers.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

vuln.today AI 9.3 CRITICAL

Network-accessible signup requires no privileges; victim's OAuth login is required user interaction; scope changes because attacker crosses into a distinct user security context with full confidentiality and integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

DescriptionCVE.org

The OAuth callback handler links incoming OAuth identities (Google, GitHub, etc.) to existing accounts matched by email address without verifying that the existing account's email was verified by its original owner. An attacker who pre-registers with a victim's email address (without verifying it) gains persistent password-based access to the victim's account after the victim completes a normal OAuth login. Verified against HEAD (commit 73679fa).

Root Cause

In internal/http_handlers/oauth_callback.go, when an OAuth login occurs for an email that already exists in the database:

Line 125: The existing user is looked up by email:

existingUser, err := h.StorageProvider.GetUserByEmail(ctx, refs.StringValue(user.Email))

Line 164: The OAuth user object is replaced with the existing user:

user = existingUser

Lines 173-176: The OAuth provider is appended to the existing user's signup methods:

signupMethod := existingUser.SignupMethods if !strings.Contains(signupMethod, provider) { signupMethod = signupMethod + "," + provider } user.SignupMethods = signupMethod

Lines 179-181: If the existing account's email was NOT verified, it is automatically verified:

if user.EmailVerifiedAt == nil { now := time.Now().Unix() user.EmailVerifiedAt = &now }

Line 219: The merged user is saved to the database:

user, err = h.StorageProvider.UpdateUser(ctx, user)

At no point is the existing account's password invalidated or the owner notified that a new OAuth identity was linked.

Attack Chain

  1. Attacker signs up with victim@company.com using email/password. Attacker sets a known password but does NOT click the email verification link. The account exists in the database with EmailVerifiedAt = nil.
  2. Some time later, the real owner of victim@company.com logs in via Google OAuth (a completely normal action).
  3. The OAuth callback at line 125 finds the attacker's existing account by email.
  4. At line 164, the Google OAuth identity is linked to the attacker's account.
  5. At line 179-181, the email is automatically verified (the attacker never verified it, but now it's marked as verified).
  6. At line 175, "google" is appended to the signup methods. The account now has both "basic_auth" and "google" as valid login methods.
  7. The attacker's original password is still valid in the database. It was never cleared, changed, or invalidated.
  8. The attacker logs in with victim@company.com and the password they originally set. They now have full access to the victim's account, including any data the victim added via their Google session.

Why This Is Zero-Click

The victim performs no unusual action. They simply log in via their Google account, which is the expected, secure behavior. The attacker staged the account beforehand and gains access without any further interaction.

This is a classic Account Linking vulnerability (cited in OWASP authentication guidelines). The core logic flaw is a trust boundary violation. Authorizer correctly trusts that Google has verified the email address, but it incorrectly extends that trust to validate the password that was set by the unverified attacker. The attacker maintains persistent, password-based backdoor access to the victim's account, even if the victim later revokes Authorizer's OAuth access from their Google account settings. The password was set before Google was ever involved and is never invalidated by the linking process.

Impact

  • Full account takeover for any user who logs in via OAuth
  • Attacker maintains persistent password-based access even after the victim changes OAuth providers
  • All data the victim creates after OAuth login is accessible to the attacker
  • The victim has no indication their account was pre-staged
  • Affects every OAuth provider configured in Authorizer (Google, GitHub, Facebook, Apple, LinkedIn, Twitter, Discord, Twitch, Roblox, Microsoft)

Suggested Fix

Before linking an OAuth identity to an existing account, verify that the existing account's email is already verified:

existingUser, err := h.StorageProvider.GetUserByEmail(ctx, refs.StringValue(user.Email)) if err nil { // Account exists. Only link if email is already verified. if existingUser.EmailVerifiedAt nil { // Email not verified by original owner. Do NOT link. // Either: reject the login, or create a new separate account, // or delete the unverified account and create a fresh one for the OAuth user. } }

Additionally, when linking a new OAuth identity, invalidate any existing password on the account or require the user to re-authenticate via the original method.

Credit

Koda Reef

Executive ViewAI

Why It Matters

Authorizer's OAuth implementation contains an unauthenticated account takeover vulnerability allowing attackers to hijack any user account and establish persistent backdoor access without valid credentials or OAuth completion. Organizations using Authorizer face direct compromise of user identities and unauthorized access to protected resources, with material impact on data security, regulatory compliance, and customer trust.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Low
open-source Go auth server, niche self-hosted deployments only
Threat Intel
1
1 source
Data Quality
2 sources
Confidence: Low
CVE.org GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

pkg:go/github.com_authorizerdev_authorizer

Vendor StatusVendor

SUSE

Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy