Authorizer: Zero-click account takeover via OAuth identity linking to unverified email accounts (CVE-2026-35511)
Published Sources: OSV, Hersteller
What is affected, what to do
The available sources name no fixed version. Check the vendor guidance in the references below.
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
—
Priority
No value is available for this vulnerability.
—
CVSS v3
No value is available for this vulnerability.
—
EPSS score
No value is available for this vulnerability.
Show all metrics
- Severity
- Not rated
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 24.07 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-287
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
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
-
Attacker signs up with
victim@company.comusing email/password. Attacker sets a known password but does NOT click the email verification link. The account exists in the database withEmailVerifiedAt = nil. -
Some time later, the real owner of
victim@company.comlogs in via Google OAuth (a completely normal action). -
The OAuth callback at line 125 finds the attacker's existing account by email.
-
At line 164, the Google OAuth identity is linked to the attacker's account.
-
At line 179-181, the email is automatically verified (the attacker never verified it, but now it's marked as verified).
-
At line 175, "google" is appended to the signup methods. The account now has both "basic_auth" and "google" as valid login methods.
-
The attacker's original password is still valid in the database. It was never cleared, changed, or invalidated.
-
The attacker logs in with
victim@company.comand 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
Source: OSV (Open Source Vulnerabilities), GitHub Security Advisories
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| go | github.com/authorizerdev/authorizer |
|
|
Vendors and products
Weakness classes (CWE)
CWE-287Improper Authentication
Class
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Entry at MITRE CWE-287
References & sources
- github.comauthorizerdev/authorizer/security/advisories/GHSA-29rf-f4vv-pvq6web
- github.comauthorizerdev/authorizer/commit/66fe488fd2a4e7acf1e517334344d5e…web
- github.comauthorizerdev/authorizerpackage
- github.comauthorizerdev/authorizer/releases/tag/2.4.0-rc.16web
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-35511"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-35511.svg?lang=en" alt="CVE-2026-35511 – NEOSEC Intel" height="20"></a>