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
Share

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

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 14, 2026 - 16:03 vuln.today
Analysis Generated
Aug 14, 2026 - 16:03 vuln.today
CVE Published
Aug 14, 2026 - 15:36 cve.org
HIGH

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

AnalysisAI

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. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Install
technique details hidden
C2
technique details hidden
Execute
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Two conditions must be met in sequence. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment No official NVD or vendor CVSS score was provided for this CVE; the vector below is independently assessed. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation 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. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: identify all Authorizer deployments, determine affected versions, and search audit logs for suspicious account creation patterns and OAuth callback anomalies. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-35511 vulnerability details – vuln.today

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