Skip to main content

AshAuthentication CVE-2026-88952

| EUVDEUVD-2026-81619 CRITICAL
Improper Authentication (CWE-287)
2026-09-17 EEF
9.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Control OAuth2 identity with chosen verified email
  2. Delivery
    Initiate OAuth2 sign-in to target app
  3. Exploit
    Account matched on non-email upsert_identity attribute
  4. Execution
    Vacuous email_trusted? gate links attacker identity
  5. Persist
    Session issued as victim, victim email rewritten
  6. Impact
    Full account takeover and recovery hijack

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

Exploitation requires the target application to use AshAuthentication's OAuth2 (or Auth0/Apple) strategy configured with a register-action upsert_identity that matches existing accounts on an attribute OTHER than email, OR to use the registration_enabled? false sign-in path where accounts are matched by the sign-in action's read filter. In those configurations the email_trusted?/2 gate is vacuous. The attacker must control an OAuth2 provider identity whose email_verified claim is true (their own verified email suffices). Applications that match strictly by the provider's iss/sub via a dedicated identity_resource, or that only match by email with a trusted provider, are not exploitable - which is exactly what the fix enforces via the new identity_resource requirement and trust_email_verified?/on_untrusted_email_match settings.

Impact

This is a genuinely high-severity account-takeover flaw, not a CVSS-inflated non-issue, but its real-world reach is bounded by a configuration precondition captured by the CVSS 4.0 AT:P (attack-requirement present) metric. The vendor CVSS 4.0 vector (9.1, AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:N) reflects unauthenticated network exploitation with high confidentiality and integrity impact and no availability impact - consistent with an attacker using their own OAuth2 provider account to be issued a session as a victim. No EPSS score, no CISA KEV listing, and no public exploit code are provided in the intelligence, so exploitation likelihood signals are absent; per policy this is treated as no public exploit identified at time of analysis, and the flaw should be judged on impact and reachability rather than on evidence of active abuse. The key nuance defenders must weigh: this only bites applications whose AshAuthentication OAuth2 strategy matches existing accounts by an upsert_identity attribute OTHER than email (or uses the registration_enabled? false sign-in path), so it is high-impact-but-conditionally-reachable rather than universally exploitable. PR:N is defensible because the attacker authenticates only to their own identity provider, never to the victim account.

Exploit ScenarioDerived

An attacker registers or controls an OAuth2/OIDC identity (e.g. Auth0, Apple, or a self-controlled provider) with a verified email of their choosing, then signs into the target app whose AshAuthentication OAuth2 strategy matches accounts on a non-email attribute. Because the email_trusted?/2 gate only checks the provider's email_verified boolean and never compares the provider email to the matched account's email, the attacker's identity is linked to a victim's account and a session is issued as that victim. The upsert also rewrites the victim account's email to the attacker's address, so subsequent password-reset/recovery flows are delivered to the attacker; no public exploit code is referenced in the intelligence.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 17, 2026

Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauthenticated remote attackers obtain a session for another user's account by linking their own OAuth2 provider identity to an account that was matched on an attribute other than email, and the same upsert rewrites the victim's email to the attacker's address so subsequent account recovery flows reach the attacker. Exploitation is conditional: the application must configure the OAuth2/Auth0/Apple strategy with a register-action upsert_identity that matches existing accounts on a non-email attribute, or use the registration_enabled? false sign-in path where accounts are matched by the sign-in action's read filter, and the attacker only needs control of a provider identity whose email_verified claim is true. No public exploit code has been identified at time of analysis and the issue is not confirmed as actively exploited (CISA KEV); vendor patches are available in 4.15.0 and 5.0.0-rc.14.

RemediationAI

Upgrade ash_authentication to the fixed releases: 4.15.0 for the 4.x line, or 5.0.0-rc.14 for the 5.0 pre-release line (vendor-released patches; see the advisory at https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wc6x-276q-jrf9 and the fix commits https://github.com/team-alembic/ash_authentication/commit/738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459 and https://github.com/team-alembic/ash_authentication/commit/2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba). If an immediate upgrade is not possible, the actionable compensating control is to change the OAuth2/Auth0/Apple strategy configuration so accounts are never matched by email or by another non-identity attribute: configure the required identity_resource to persist the provider's iss/sub claims and use those as the sole upsert_identity, which removes the account-match ambiguity the vacuous email_trusted?/2 gate relies on; the trade-off is that existing accounts whose provider identity was previously linked only by email may need re-linking. Alternatively, set trust_email_verified? to false so an as-yet-unknown iss/sub is never matched to a pre-existing account by email, and keep on_untrusted_email_match at its :reject default to refuse such sign-ins outright; choosing :confirm instead requires a confirmation add-on and sends a confirmation to the existing account's email, but the confirmation email must clearly name the provider being linked, because confirming binds whichever provider identity initiated the flow and a user can otherwise be tricked into linking an attacker-controlled provider account. Because the vulnerable upsert also overwrites the matched account's email, administrators should audit accounts in affected deployments for unexpected email changes and invalidate sessions or force credential recovery for any account whose email was altered, since recovery messages sent during the exposure window would have gone to the attacker.

Affected VersionsENISA

ash_authentication 42edcd8ebb13fafbb168f12591d7518ce0611fec <*
ash_authentication 5.0.0-rc.10 <5.0.0-rc.14
ash_authentication 4.14.0 <4.15.0
ash_authentication 64530644f9b37ebb76ca14aeb83a77597a0034b7 <*

Affected Packages

euvd ash_authentication fix: 4.15.0, 5.0.0-rc.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

AshAuthentication is the authentication extension for the Ash framework in Elixir, and this flaw is a CWE-287 improper authentication failure in its OAuth2 strategy layer. AshAuthentication.Strategy.OAuth2.UserResolver.resolve/3 first matches an existing local account using the register action's upsert_identity keys, then decides whether to attach the incoming provider identity to that account by calling email_trusted?/2. That check inspects only the provider's email_verified boolean and never compares the provider's asserted email value against the email on the matched account; it silently assumes the account was matched by its email field. When any other upsert_identity (for example provider iss/sub persisted in a separate identity resource, a username, or another attribute) selected the account, the gate becomes vacuous and an attacker supplying their own provider identity with a verified email is linked to, and issued a session for, a victim account. The identical unguarded gate exists in OAuth2.SignInPreparation on the registration_enabled? false path, where the account is instead selected by the sign-in action's read filter, and the accompanying upsert also overwrites the matched account's email with the attacker's address, redirecting future password/account recovery to the attacker. Applications that match strictly by the provider's iss/sub through a dedicated identity_resource, or that match by email only with a provider whose email assertion is trusted, are not exposed. The vendor fix enforces persisting iss/sub via identity_resource (now required) and introduces trust_email_verified? and on_untrusted_email_match (:reject default, or :confirm requiring a confirmation add-on) controls, matching the root cause described in the commit diffs for the Apple, Auth0, and other OAuth2 strategies.

Know when Oauth2 gets its next vulnerability

  • 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

Vendor (EEF) PRIMARY 9.1 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 9.1 CRITICAL

Remote and unauthenticated to the victim account (attacker authenticates only to their own IdP, so PR:N); config precondition is deployment-side, not attacker-side, so AC:L; full account access (C:H) and email/identity rewrite (I:H), no availability impact.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker to be signed in as another user by linking an OAuth2 identity to an account that is not theirs.

AshAuthentication.Strategy.OAuth2.UserResolver.resolve/3 matches an existing account using the register action's upsert_identity keys, then gates linking the incoming provider identity to it on email_trusted?/2, which reads only the provider's email_verified boolean and never compares the provider's email value with the matched account's email. That gate assumes the account was matched by its email field, so under any other upsert_identity it is vacuous and an attacker presenting their own verified email is attached to, and issued a session for, an account matched on some other attribute. The same unguarded gate applies in OAuth2.SignInPreparation on the registration_enabled? false path, where the account is matched by the sign-in action's read filter instead. The upsert also rewrites the matched account's email to the attacker's address, so later account recovery reaches the attacker rather than the owner.

This issue affects ash_authentication: from 4.14.0 before 4.15.0 and from 5.0.0-rc.10 before 5.0.0-rc.14.

Technical POC Analysis

CWE-287 Improper Authentication.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

AshAuthentication versions 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 contain a critical account takeover flaw that can let attackers obtain a session for another user's account and rewrite the victim's email under certain OAuth2/Auth0/Apple or registration configurations. Organizations using these versions in customer-facing or workforce authentication should treat this as a high-priority identity risk, because compromise could lead to unauthorized data access, fraudulent account recovery, and erosion of trust. No public exploit identified at time of analysis, but vendor patches are available in 4.15.0 and later.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche Elixir/Ash-framework authentication library, no broad enterprise footprint
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

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

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