Skip to main content

AshAuthentication CVE-2026-82685

| EUVDEUVD-2026-81479 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-09-17 EEF
7.6
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Register account and change own email
  2. Delivery
    Obtain signed confirmation token with pending change
  3. Exploit
    Replay token against victim's record id
  4. Execution
    ConfirmChange writes attacker email and confirmed_at
  5. Persist
    Trigger password reset to attacker address
  6. Impact
    Full takeover of victim account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires the application to use AshAuthentication's Confirmation add-on with monitored fields (e.g. email) so that a change is stored against the confirmation token, and the attacker must be able to register an account and know the victim's target record id (typically a UUID primary key). Limiting factors: the attacker must be authenticated at least to the extent of holding their own registered account (PR:L), must possess or discover the victim's record id, and the deployment must expose the vulnerable ConfirmChange path - the library's own confirm/3 flow is not affected. No user interaction from the victim is needed (UI:N).

Impact

This is a genuine authenticated account-takeover primitive, not a high-CVSS-but-low-impact issue. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H) correctly captures full compromise of a victim's confidentiality and integrity, moderated by two real barriers reflected in AT:P (attack requirement present) and PR:L (attacker must hold a registered account). No EPSS score, no CISA KEV listing, and no public exploit code were provided, so real-world exploitation signals are absent - this is currently a disclosed-and-patched weakness rather than an observed campaign. The technical impact is severe (deterministic account takeover once prerequisites are met), which for SSVC weighs toward 'total' technical impact, but 'automatable' is limited: the attacker needs the victim's specific record id and the app must have the Confirmation add-on configured with change-monitoring. The vendor CVSS is CVSS 4.0 only - no 3.1 vector was supplied, so cross-framework comparison relies on my own 3.1 mapping. Net: real priority for any Elixir/Ash application using AshAuthentication email confirmation, but the niche ecosystem and authenticated precondition cap widespread automated abuse.

Exploit ScenarioDerived

An attacker registers a normal account and initiates an email change on their own record, causing the library to issue a confirmation token that stores the pending change. They replay that signed token against a victim's record id; because ConfirmChange never checks the token's sub claim against the targeted record, it writes the attacker's email onto the victim account and stamps confirmed_at. The attacker then runs an ordinary password reset to the now-attacker-controlled email and seizes the victim's account. No public exploit code was identified, but the advisory describes the full mechanism in detail.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 17, 2026

An authenticated account-takeover primitive exists in the Elixir library AshAuthentication (ash_authentication) versions 0.5.0 through 4.14.x and 5.0.0-rc.0 through 5.0.0-rc.13: an attacker who can register their own account can replay the confirmation token generated for their own email change against a victim's record, causing the victim's address to be overwritten with the attacker's and confirmed_at to be stamped, after which a routine password reset hands over the account. Exploitation requires the application to use the Confirmation add-on with monitored fields (typically :email), the attacker's own registered account (authenticated, PR:L), and knowledge of the victim's record id (normally a UUID primary key); no action by the victim is required. The confirmation flow the library itself generates is not affected, and no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade ash_authentication to 4.15.0 (for the 0.5.0-4.14.x line) or 5.0.0-rc.14 (for the 5.0.0 release-candidate line); vendor-released patched versions are confirmed and the fixes are visible in the referenced commits https://github.com/team-alembic/ash_authentication/commit/d7c15c21d39c009206e010cd67e2d86370fe7a28 and https://github.com/team-alembic/ash_authentication/commit/2a2396af131ab67e2f445b805fecce8e6ca86c0e, with supporting context in https://github.com/team-alembic/ash_authentication/commit/1d4bb00617aecae85c33f2ff5bc7e094c6449a6e. If immediate upgrade is not possible, the most effective compensating control is to stop routing untrusted callers into the ConfirmChange changeset directly and instead use the built-in AshAuthentication.AddOn.Confirmation.Actions.confirm/3 flow, which binds the token's sub claim to the target record - the trade-off is that any custom confirmation endpoint must be refactored and will lose any bespoke behaviour layered onto ConfirmChange. Optionally set confirm_on_update? to false (or shorten token_lifetime) so that email-change tokens are not issued and carried inside the token, at the cost of disabling the standard change-confirmation workflow for monitored fields; teams that cannot do either should restrict the confirmation endpoint to first-party clients and treat record identifiers (usually primary-key UUIDs) as sensitive, rotating identifiers is not practical, so upstream patching remains the only complete fix.

Affected VersionsENISA

ash_authentication 5.0.0-rc.0 <5.0.0-rc.14
ash_authentication 0.5.0 <4.15.0
ash_authentication 1d4bb00617aecae85c33f2ff5bc7e094c6449a6e <*

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 an authentication extension for the Elixir Ash framework, and its Confirmation add-on implements the standard 'confirm your email address' workflow by issuing a signed JWT confirmation token and storing the requested field changes inside it. The flaw is CWE-639 (Authorization Bypass Through User-Controlled Key): AshAuthentication.AddOn.Confirmation.ConfirmChange validates the token's signature and its act claim but then applies the changes embedded in the token to whatever record the incoming changeset targets, without ever comparing the token's sub (subject) claim to changeset.data. Because the record identifier is taken from caller-supplied input, an attacker who changes their own email can capture the resulting token and replay it with a victim's record id, writing the attacker's address into the victim's row via force_change_attributes/2 and setting confirmed_at. Notably, the library's own AshAuthentication.AddOn.Confirmation.Actions.confirm/3 resolves sub to a user record and targets that record, so the standard confirmation endpoint is unaffected - the exposure comes from application code paths that invoke the ConfirmChange changeset directly.

Know when Ash Authentication 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 7.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

PR:L because the attacker needs a registered account; AC:H reflects needing the victim's specific record id plus the Confirmation add-on being configured; account takeover gives C:H/I:H, no availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/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
Low
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

Authorization Bypass Through User-Controlled Key vulnerability in team-alembic AshAuthentication allows an authenticated attacker to overwrite and confirm another user's email address, and so take over that account. A confirmation token issued to one user is accepted on any other user's record.

AshAuthentication.AddOn.Confirmation.ConfirmChange verifies the token's signature and its act claim, then applies the changes stored against that token to whichever record the changeset targets, never comparing the sub claim against changeset.data. An attacker who registers an account and changes their own email replays the resulting token against a victim's record id, writing in their own address with force_change_attributes/2 and stamping confirmed_at, after which an ordinary password reset yields the account. The library's own confirmation flow is unaffected, because AshAuthentication.AddOn.Confirmation.Actions.confirm/3 resolves sub to a user and targets that record.

This issue affects ash_authentication: from 0.5.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

Technical POC Analysis

Class: CWE-639 (Authorization Bypass Through User-Controlled Key) per the CVE record; the GitHub advisory additionally tags CWE-863 (Incorrect Authorization) and CWE-384 (Session Fixation).

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, an Elixir authentication library, exposes organizations to authenticated account takeover when affected versions are deployed with the Confirmation add-on. A self-registered attacker can redirect a victim's email address and confirmation state without victim interaction, enabling a subsequent password reset to seize the account. This threatens customer-facing and internal identities that rely on AshAuthentication, so security leadership should prioritize remediation and account monitoring.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche Elixir/Ash authentication library, small ecosystem 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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
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.

SSVC AssessmentENISA

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

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

CVE-2026-49757 CRITICAL POC
9.2 Jun 15

Account takeover in team-alembic AshAuthentication (0.1.0 to <4.14.0 and 5.0.0-rc.0 to <5.0.0-rc.10) lets an unauthentic

CVE-2025-25202 MEDIUM POC
6.3 Feb 11

Ash Authentication is an authentication framework for Elixir applications. Rated medium severity (CVSS 6.3), this vulner

CVE-2026-86533 CRITICAL
9.1 Sep 17

Revoked sessions continue to be treated as fully authenticated on affected AshAuthentication and AshAuthentication Phoen

CVE-2026-85500 CRITICAL
9.1 Sep 17

Unconfirmed accounts can obtain an authenticated session in the AshAuthentication Elixir library, defeating the mandator

CVE-2026-88952 CRITICAL
9.1 Sep 17

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 unauth

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-82761 CRITICAL
9.1 Sep 17

Reusing a leaked single-use magic-link token is possible in the Elixir library ash_authentication because its validity c

CVE-2026-82760 HIGH
8.2 Sep 17

Denial of service in the AshAuthentication API-key sign-in strategy lets an unauthenticated, remote attacker exhaust ser

CVE-2026-65633 HIGH
7.6 Aug 25

JWT token replay in AshAuthentication exposes any application using the stateless bearer-token path to full account take

CVE-2026-119215 HIGH
7.6 Nov 03

An authenticated account holder can bind a TOTP authenticator secret they control onto another user's account in AshAuth

CVE-2026-80218 HIGH
7.6 Sep 17

Authentication bypass in the AshAuthentication library for Elixir/Ash lets an authenticated attacker who holds a valid s

CVE-2026-81632 HIGH
7.2 Sep 17

Password sign-in in AshAuthentication Phoenix (ash_authentication_phoenix 1.7.0 to <2.17.4 and 3.0.0-rc.0 to <3.0.0-rc.1

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