Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture victim session value pre-logout
-
DeliveryVictim signs out (server fails to revoke jti)
-
ExploitReplay captured session cookie
-
ExecutionReader discards jti, reloads user
-
ImpactRetain 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Ash Authentication
View allAccount 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
Ash Authentication is an authentication framework for Elixir applications. Rated medium severity (CVSS 6.3), this vulner
Unconfirmed accounts can obtain an authenticated session in the AshAuthentication Elixir library, defeating the mandator
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
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Reusing a leaked single-use magic-link token is possible in the Elixir library ash_authentication because its validity c
Denial of service in the AshAuthentication API-key sign-in strategy lets an unauthenticated, remote attacker exhaust ser
An authenticated account-takeover primitive exists in the Elixir library AshAuthentication (ash_authentication) versions
JWT token replay in AshAuthentication exposes any application using the stateless bearer-token path to full account take
An authenticated account holder can bind a TOTP authenticator secret they control onto another user's account in AshAuth
Authentication bypass in the AshAuthentication library for Elixir/Ash lets an authenticated attacker who holds a valid s
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
EUVD-2026-81486
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB