Skip to main content

AshAuthentication Phoenix EUVDEUVD-2026-81486

| CVE-2026-86533 CRITICAL
Insufficient Session Expiration (CWE-613)
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
    Capture victim session value pre-logout
  2. Delivery
    Victim signs out (server fails to revoke jti)
  3. Exploit
    Replay captured session cookie
  4. Execution
    Reader discards jti, reloads user
  5. Impact
    Retain full authenticated access as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Requires a resource configured with session_identifier :jti AND require_token_presence_for_authentication? set to disabled/false - this is the specific vulnerable configuration; deployments using require_token_presence_for_authentication? true are not affected because that branch validates the token. The attacker must also already possess a session value that was captured before the victim signed out, since the flaw is failure to honor revocation rather than session forgery. Affected versions: ash_authentication_phoenix 2.10.0 to before 2.17.4 and 3.0.0-rc.0 onward; ash_authentication 4.9.1 to before 4.15.0 and 5.0.0-rc.0 before 5.0.0-rc.14. Limiting factors: non-default configuration, dependence on prior session compromise, and Elixir/Phoenix-only deployment surface.

Impact

This is a genuine session-management flaw whose real-world risk is moderate-to-high but gated by non-default configuration. The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N) yields 9.1 largely because it treats the outcome - a fully authenticated session that survives revocation - as high confidentiality AND high integrity impact with no privileges required. The critical nuance the raw 9.1 hides is AT:P (attack requirements present): exploitation only matters when a resource is configured with session_identifier :jti and require_token_presence_for_authentication? disabled, AND the attacker must already possess a session value captured before sign-out. It is therefore not a remote-mint-a-session bug; it is a failure to invalidate an already-obtained session. No EPSS score and no CISA KEV entry are present in the input, and no weaponized proof-of-concept was provided - only vendor advisories (GHSA-m6x4-4gvp-xwjr, GHSA-w374-hvrx-66hg) and public patch commits. Signals are internally consistent (network vector, low complexity offset by attack requirement), so this reads as a real correctness/security defect worth prompt patching in affected Elixir/Phoenix deployments, not a mass-exploited internet-wide emergency. Priority is elevated for teams that use the vulnerable config and a shared-session-capture threat model (e.g. XSS, logs, proxies, shared machines).

Exploit ScenarioDerived

An attacker obtains a victim's session cookie/value (via prior XSS, network capture, shared/kiosk machine, or leaked logs) while the app uses session_identifier :jti with token-presence checking disabled. The victim clicks 'sign out' believing the session is killed, but because the reader discards the jti and never consults the revocation record, the attacker's captured session continues to authenticate as the victim indefinitely. No public exploit code was provided, though the fix commits and advisories publicly describe the exact defective code path.

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

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

Alert me

AnalysisAIv1 – Sep 17, 2026

Revoked sessions continue to be treated as fully authenticated on affected AshAuthentication and AshAuthentication Phoenix deployments, so anyone holding a session value captured before the victim signed out can keep acting as that user indefinitely. The flaw affects ash_authentication_phoenix from 2.10.0 before 2.17.4 and from 3.0.0-rc.0 onward, and ash_authentication from 4.9.1 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14, but only for resources configured with session_identifier :jti while require_token_presence_for_authentication? is disabled; deployments using require_token_presence_for_authentication? true validate the token and are not affected. No public exploit identified at time of analysis, though the upstream advisory rates the issue 9.1 and vendor patches are already published.

RemediationAI

Vendor-released patches exist: upgrade ash_authentication_phoenix to 2.17.4 or later (or the corresponding fixed 3.x release) and ash_authentication to 4.15.0 or later (or 5.0.0-rc.14 or later for the 5.0 release-candidate line), per GHSA-m6x4-4gvp-xwjr and GHSA-w374-hvrx-66hg. The fixes are visible in commits f7ab005a2aac09707a25521653c94893d328cc52 and a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 (ash_authentication_phoenix) and a3f49f758f013d2ff086dd9c5ef2d94e921711b4, e28e911caa9728d76329afdb0fb26742ffe4eeef, and fcaeb73f76f8f2e9aef8bf637690d2a20dd97596 (ash_authentication). After upgrading, replace any call to the deprecated clear_session/1 in your auth controller with clear_session(conn, :my_app), which now revokes bearer and session tokens before clearing the Plug session; the old macro raises a compile-time error to force the change. If immediate upgrade is not possible, set require_token_presence_for_authentication? to true on the affected resource so every request re-validates the token against the revocation table, at the cost of an additional token lookup on each authenticated request; alternatively retain session_identifier :jti but shorten session/token lifetimes and ensure sign-out revokes tokens so captured sessions expire quickly. Rotating signing keys or forcing global token revocation will invalidate all outstanding sessions and log every user out, which is disruptive but closes the exposure window for already-captured session values.

Affected VersionsENISA

ash_authentication_phoenix 2.10.0 <2.17.4
ash_authentication fcaeb73f76f8f2e9aef8bf637690d2a20dd97596 <*
ash_authentication_phoenix 0135217e34e621dac79ae3d9559aeee49304b0aa <f7ab005a2aac09707a25521653c94893d328cc52
ash_authentication_phoenix 3.0.0-rc.0 <*
ash_authentication 5.0.0-rc.0 <5.0.0-rc.14
ash_authentication_phoenix a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 <f7ab005a2aac09707a25521653c94893d328cc52
ash_authentication 4.9.1 <4.15.0

Affected Packages

euvd ash_authentication fix: 4.15.0, 5.0.0-rc.14
euvd ash_authentication_phoenix fix: 2.17.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages 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 for Phoenix applications; ash_authentication_phoenix provides the web-facing Plug controller and LiveView integration. The root cause is CWE-613 (Insufficient Session Expiration). When a resource is configured with session_identifier :jti and require_token_presence_for_authentication? is disabled, the stored session value is written as the composite string <jti>:<subject>, where the jti exists precisely so that individual sessions can be revoked at sign-out. The two read paths, AshAuthentication.Plug.Helpers.authenticate_resource_from_session/4 and AshAuthentication.Phoenix.LiveSession.on_mount/4, split that value with split_identifier/2, discard the jti, and pass only the bare subject to AshAuthentication.subject_to_user/3, which simply reloads the user record. Because the jti is never used to read the token-revocation record, neither the revoked state nor the revocation record's expiration constrains the session. Only the token-presence branch of each function calls AshAuthentication.TokenResource.Actions.get_token/3 with the jti and the user purpose, which is why the flaw is configuration-gated. The upstream fix adds a session_identifier DSL flag (default :error, recommended :jti), a revoke_jti_action_name option on the token resource, jti-aware session writing and splitting in AshAuthentication.Plug.Helpers, and revoke_session_tokens/revoke_bearer_tokens helpers invoked from a new clear_session/2 in AshAuthentication.Phoenix.Controller; the old clear_session/1 is deprecated and now raises rather than silently clearing only the Phoenix session.

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
vuln.today AI 7.4 HIGH

AC:H because it needs a non-default :jti/token-presence-off config plus a session captured before logout; PR:N/UI:N as the attacker acts with a stolen session; full account access gives C:H/I:H, A:N.

3.1 AV:N/AC:H/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

Insufficient Session Expiration vulnerability in team-alembic AshAuthentication and AshAuthentication Phoenix allows a revoked session to remain fully authenticated.

A resource configured with session_identifier :jti and require_token_presence_for_authentication? disabled stores its session value as <jti>:<subject>. The jti is there so that signing out can revoke that one session. Neither reader consults it: AshAuthentication.Plug.Helpers.authenticate_resource_from_session/4 and AshAuthentication.Phoenix.LiveSession.on_mount/4 both split the value with split_identifier/2, discard the jti and pass the bare subject to AshAuthentication.subject_to_user/3, which reloads the record. The token-presence branch of each function does check its token, calling AshAuthentication.TokenResource.Actions.get_token/3 with the jti and the purpose user. Because the revocation record is never read, neither its revoked state nor its expiry constrains the session, so a session captured before sign-out keeps working.

This issue affects ash_authentication_phoenix: from 2.10.0 before 2.17.4 and from 3.0.0-rc.0 onward; ash_authentication: from 4.9.1 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

Technical POC Analysis

Insufficient Session Expiration, CWE-613.

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

Applications built on the AshAuthentication and AshAuthentication Phoenix libraries for the Elixir ecosystem can continue to honour user sessions that have already been signed out, meaning anyone who captured a session value before logout can keep operating as that user indefinitely. Customers, employees, and privileged administrators on affected deployments face persistent, hard-to-detect account takeover, and the impact extends to any data or transaction their accounts can reach. Vendor fixes are already published, but remediation requires identifying which deployments run the affected configuration (session_identifier :jti with token-presence enforcement disabled), so leadership should treat this as an urgent inventory-and-upgrade task rather than a routine patch cycle.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Low
Elixir/Phoenix auth library; niche ecosystem, limited production footprint
Data Quality
6 sources
Confidence: High

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.6%
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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