Skip to main content

AshAuthentication EUVDEUVD-2026-81487

| CVE-2026-85500 CRITICAL
Authentication Bypass by Primary Weakness (CWE-305)
2026-09-17 EEF
9.1
CVSS 4.0 · Vendor: EEF
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Primary weakness mitigation
Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

Unconfirmed accounts can obtain an authenticated session in the AshAuthentication Elixir library, defeating the mandatory email-confirmation gate configured through the password strategy's require_confirmed_with option. The check in AshAuthentication.Strategy.Password.Actions.check_user/2 compares the confirmation attribute against nil with a bare is_nil(Map.get(user, field)), so Ash's %Ash.NotLoaded{} and %Ash.ForbiddenField{} sentinels - returned when the attribute is not selected on the loaded record or is hidden from the current actor by a field policy - are treated as a confirmed value; the check also exists only inside the strategy's Actions module and is not attached to the sign-in/register action itself, so callers that invoke the action directly, including API layers such as AshGraphql and AshJsonApi in the default configuration, skip it entirely. Unauthenticated per the CVSS 4.0 vector (PR:N, with AT:P indicating the target must actually have require_confirmed_with configured), CVSS 9.1, CWE-305 (Authentication Bypass by Primary Weakness); no public exploit identified at time of analysis, and vendor patches are available in 4.15.0 and 5.0.0-rc.14.

RemediationAI

Vendor-released patch: upgrade ash_authentication to 4.15.0 (for the 4.x line) or 5.0.0-rc.14 (for the 5.0.0 release-candidate line), as documented in GHSA-fc47-6pgw-wh22. The fix is implemented across commits 7d37bc6e4df6697b5813d2f373f0fdb08f813f98 (introduces the require_confirmed_with DSL option and the user_confirmed?/2 check), 17f4c25a372d1778c9cc457759e6357570d83711, and 1076639a9d40213088d110c79ba6735b8cc85b16, and additionally ensures the confirmation attribute is loaded via ensure_selected so the NotLoaded/ForbiddenField sentinel cases cannot silently pass. If an upgrade cannot be applied immediately, compensating controls are: (1) ensure the confirmation attribute is always selected and visible to the sign-in actor - set select_by_default?: true and remove or relax any field policy that hides it - which closes the sentinel-based bypass, at the cost of exposing that attribute more broadly in reads; (2) add an explicit confirmation assertion in your own action wrapper or API-layer resolver for every password sign-in and register action exposed through AshGraphql/AshJsonApi, since the check was never on the action itself, with the trade-off that the assertion must be replicated at each direct entry point and will be bypassed by any new caller you forget to cover; (3) temporarily disable password sign-in for accounts that have not been confirmed at the application/API layer (for example reject requests until an out-of-band confirmation workflow completes), which degrades usability for legitimate new users but does not require library changes. Note that if require_confirmed_with is left unset and no confirmation field is required, behavior is unchanged - the risk only materializes when the application intends to enforce confirmation.

Affected VersionsENISA

ash_authentication 4.3.8 <4.15.0
ash_authentication 5.0.0-rc.0 <5.0.0-rc.14
ash_authentication 7d37bc6e4df6697b5813d2f373f0fdb08f813f98 <*

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, an Elixir resource/domain framework. Applications configure authentication strategies - including a password strategy - in a DSL, and the option require_confirmed_with names the user attribute (typically confirmed_at) that must be set before sign-in succeeds. The root cause is CWE-305, Authentication Bypass by Primary Weakness: the security decision relies on a comparison that cannot represent the unconfirmed state under common configurations. Specifically, check_user/2 in lib/ash_authentication/strategies/password/actions.ex evaluated the attribute with is_nil(Map.get(user, value)). Ash returns the struct %Ash.NotLoaded{} for attributes that were not selected on the record - which happens when the field is declared with select_by_default?: false or when an API layer narrows the read's select list - and returns %Ash.ForbiddenField{} when a field policy denies the attribute to the acting user. Neither struct is nil, so the rejection branch was skipped and every such user was read as confirmed. Compounding this, enforcement lived in two places (sign_in_with_token and register) inside AshAuthentication.Strategy.Password.Actions rather than on the action definitions themselves, so any caller that invokes the action directly bypasses the check; AshGraphql and AshJsonApi do exactly that, making the bypass reachable in a default API-exposed deployment. The upstream fix adds a DSL option require_confirmed_with (atom or nil), preloads the attribute via Query.ensure_selected, and replaces the nil check with a user_confirmed?/2 helper that treats %Ash.NotLoaded{}, %Ash.ForbiddenField{} and nil as unconfirmed, raising a new AshAuthentication.Errors.UnconfirmedUser error instead.

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

Primary rating from Vendor (EEF) · only source for this CVE.

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

Authentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement.

AshAuthentication.Strategy.Password.Actions.check_user/2 decides whether the attribute named by require_confirmed_with is set using a bare is_nil(Map.get(user, value)). When that attribute is not selected on the loaded record Map.get/2 returns %Ash.NotLoaded{}, and when a field policy denies it for the current actor it returns %Ash.ForbiddenField{}. Neither is nil, so the rejection branch is skipped and sign-i

require_confirmed_with is enforced in two places, and neither holds in every configuration. sign_in_with_token and register are checked only inside AshAuthentication.Strategy.Password.Actions, not on the action itself, so any caller that invokes the action directly skips the check. An API layer such as AshGraphql or AshJsonApi invokes the action directly, so this applies to the default configuration. Where a check does run it compares the confirmation attribute against nil. That attribute holds %Ash.NotLoaded{} or %Ash.ForbiddenField{} when it sets select_by_default?: false, when an API layer narrows the read's select, or when a field policy hides it from the sign-in actor. Neither struct is nil, so those configurations read every user as confirmed.

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

Technical POC Analysis

Authentication bypass caused by improper handling of Ash sentinel values - a CWE-754 defect.

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

A critical flaw in the AshAuthentication library can allow users who never verified their email address to obtain a fully authenticated session in applications built on it, undermining the email-confirmation gate that many organizations rely on for anti-fraud, onboarding integrity, and compliance. Because the weakness also applies when sign-in is exercised through the default GraphQL and JSON:API layers, teams may not realize their customer-facing authentication flows are affected until abuse is observed. A vendor patch is available now, so this is a remediation-tracking issue rather than an open-ended exposure.

Business Impact: High
Compensating Controls

Apply vendor patch. Until deployment completes, enforce the confirmation requirement at the action/caller layer rather than relying solely on the strategy's Actions module, and restrict or disable direct invocation of sign-in and register actions through AshGraphql and AshJsonApi entry points.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
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.5%
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

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

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-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-82685 HIGH
7.6 Sep 17

An authenticated account-takeover primitive exists in the Elixir library AshAuthentication (ash_authentication) versions

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