Skip to main content

AshAuthentication CVE-2026-80218

| EUVDEUVD-2026-81484 HIGH
Improper Authentication (CWE-287)
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
    Authenticate as low-privilege resource
  2. Delivery
    Obtain valid sign-in JWT
  3. Exploit
    Replay token to sibling resource's sign-in action
  4. Execution
    Path segment dropped, only PK query matched
  5. Impact
    Signed in as same-PK user of other resource

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

Requires ALL of: (1) the attacker holds a valid, unexpired sign-in token for at least one authenticated resource (PR:L - must already be a legitimate user of some resource); (2) the application defines two or more authenticated Ash resources whose primary-key FIELD NAMES are identical across resources (e.g. both use 'id'), so the discarded path segment was the only thing distinguishing them; (3) the target resource uses one of the affected token preparations - password SignInWithToken, WebAuthn sign-in, or remember-me. The magic-link sign-in path pins the subject name against the resource and is NOT exploitable. Limiting factors: single-resource applications, resources with distinct PK field names, and deployments not using token/remember-me/WebAuthn sign-in are unaffected, which makes this a targeted, configuration-dependent flaw rather than a universal one.

Impact

This is a genuine authentication bypass (CWE-287), not a mislabeled authorization issue, corroborated by the vendor advisory (GHSA-3pr8-f99q-86hp), the ERLEF/EEF CNA record, OSV, and three patch commits - high source agreement. The vendor CVSS 4.0 vector (7.6, AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N) correctly captures that an attacker must already hold a valid sign-in token for SOME authenticated resource (PR:L) and that a specific attack requirement applies (AT:P). The realistic-risk picture is more constrained than 7.6 suggests: exploitation only works when an application registers multiple authenticated Ash resources whose primary-key field names coincide (e.g. both keyed on 'id') AND uses the token-bearing sign-in paths (password sign-in-with-token, WebAuthn, or remember-me) - a non-default multi-resource design, which argues for AC:H over the vendor's AC:L. No EPSS score, no CISA KEV entry, and no public exploit code are present in the intel, so there is no evidence of active or automatable exploitation; priority is driven by impact severity (full cross-resource account takeover) rather than exploitation likelihood. Net: a real, patch-worthy vulnerability for the narrow set of multi-resource AshAuthentication deployments, but low mass-exploitation risk given the niche ecosystem and configuration prerequisites.

Exploit ScenarioDerived

An application defines two authenticated resources (say Customer and Admin) that both use integer/UUID 'id' primary keys and enable token-based sign-in. An attacker who legitimately authenticates as a low-value Customer obtains a sign-in token whose 'sub' is like 'customer?id=1', then replays it against the Admin sign-in-with-token action; because only the query string ('id=1') is compared and the 'customer' path segment is discarded, they are signed in as Admin id=1. No public exploit code is identified at time of analysis, but the root cause and fix are fully disclosed in the patch commits.

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

Authentication bypass in the AshAuthentication library for Elixir/Ash lets an authenticated attacker who holds a valid sign-in token minted for one Ash resource replay it to be signed in as a user of a different resource, because the JWT 'sub' claim's path segment - the only portion recording which subject the token was issued for - is parsed with URI.parse/1 and thrown away, leaving only the query string. Affected are ash_authentication releases from 3.10.5 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14, specifically the Password sign-in-with-token, WebAuthn sign-in and remember-me preparations; the magic-link sign-in path pins the subject against the resource and is not vulnerable. Exploitation is configuration-dependent - it requires two or more authenticated resources whose primary-key field names are identical (for example, both 'id') - and no public exploit code was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade ash_authentication to 4.15.0 or later on the 4.x line, or to 5.0.0-rc.14 or later on the 5.x pre-release line - these are the first fixed versions for their respective ranges. If an immediate dependency bump is not possible, apply the upstream fixes directly from the referenced commits (eca8cadea0f1595ed2c10a0c177b1da9aa9e5269, 2640e1872e1fef4e4606e601bf00102cff784c03, 7baac243ca651eee127a84d672eee3fcff42e598), which restore the resource/strategy binding in the token preparations and validation path. As a compensating control, disable the token-based flows you do not need - sign-in tokens, WebAuthn token sign-in, and remember-me (the project exposes configuration such as sign_in_tokens_enabled?/sign_in_token_lifetime) - understanding that this removes passwordless/token login and persistent sessions for users; alternatively, rename primary-key fields so they differ between authenticated resources, which removes the field-name collision the bypass depends on but requires a migration of key definitions and dependent code. Finally, keep magic-link sign-in in place where possible, since that path already pins the subject name to the resource and is not affected. Full details and any additional guidance are in the vendor advisory at https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-3pr8-f99q-86hp.

Affected VersionsENISA

ash_authentication 3.10.5 <4.15.0
ash_authentication 5.0.0-rc.0 <5.0.0-rc.14
ash_authentication eca8cadea0f1595ed2c10a0c177b1da9aa9e5269 <*

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 Elixir authentication framework built on the Ash resource DSL, using JWTs as sign-in tokens. In the vulnerable code, AshAuthentication.Strategy.Password.SignInWithTokenPreparation.extract_primary_keys_from_subject/2 takes the token's 'sub' claim (shaped like 'user?id=1'), runs it through URI.parse/1 and retains only the query string, silently dropping the path segment that names the resource the token was issued for. Nothing downstream restores that binding: AshAuthentication.Jwt.verify/3 validates the signature plus the exp, nbf, jti and library-version claims, the purpose check only requires the token to carry the 'sign_in' purpose, and the final comparison is performed over primary-key field names - which are identical across resources when both declare a key named 'id'. Because the resource identity is never re-derived, a token legitimately issued for resource A satisfies the lookups for resource B as long as the PK field names line up. The same helper was copy-pasted into the WebAuthn sign-in and remember-me preparations, which drop the path in the same way, while the magic-link path binds the subject name to the resource and is unaffected. The root cause is CWE-287 (Improper Authentication) - a missing integrity check tying a bearer credential to the audience/subject it was minted for - consistent with the vendor's own classification. The fix commits (eca8cade, 2640e187, 7baac243) propagate strategy/resource context through the token validation and error paths, tightening the subject binding.

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 valid token for one resource; AC:H because it depends on a non-default multi-resource design sharing PK field names; full cross-resource takeover gives C:H/I:H, A:N.

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

Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker holding a sign-in token for one authenticated resource to be signed in as a user of a different resource.

AshAuthentication.Strategy.Password.SignInWithTokenPreparation.extract_primary_keys_from_subject/2 parses the JWT sub claim (for example user?id=1) with URI.parse/1 and keeps only its query string, discarding the path segment that names the subject the token was issued for. Nothing else restores that binding: AshAuthentication.Jwt.verify/3 checks the signature, exp, nbf, jti and the library-version claims, the purpose check only requires sign_in, and the remaining comparison is over primary-key field names, which are identical across resources. The WebAuthn sign-in and remember-me preparations carry copies of the same helper and drop the path in the same way. The magic link sign-in path pins the subject name against the resource and is not affected.

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

Technical POC Analysis

CWE-287 (Improper Authentication; the advisory also tags CWE-863).

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

The AshAuthentication library for Elixir/Ash, used for authentication in applications, contains a high-severity flaw (CVE-2026-80218) that could allow a user with a valid sign-in token for one resource to replay it and gain access as a user of a different resource under certain configurations. Organizations using affected versions (3.10.5 before 4.15.0 or 5.0.0-rc.0 before 5.0.0-rc.14) with multiple authenticated resources that share the same primary-key field name are at risk of unauthorized access and potential data exposure. No public exploit code was identified at time of analysis, and a vendor patch is available; timely remediation is essential to protect sensitive information and maintain trust.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche Elixir/Ash authentication library, small production footprint
Data Quality
4 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-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-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