Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant known session identifier in victim browser
-
DeliveryLure victim to authenticate on the app
-
Exploitstore_in_session writes subject without session renewal
-
ExecutionAttacker replays fixed identifier
-
ImpactHold authenticated session as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session fixation prevention
|
| Exploitation Conditions | Requires a server-side session store (e.g., ETS or database) where a rotatable session identifier exists - deployments using Phoenix's default signed cookie session store are largely unaffected because there is no identifier to fixate. The attacker must be able to plant a session identifier in the victim's browser beforehand (related-domain cookie injection, XSS on the site, or an on-path position). Exploitation then requires the victim to actively authenticate through any ash_authentication path (default success/4, the mix-installed AuthController, remember-me auto-login, or the Plug.store_in_session delegate) on an affected version (0.2.0 before 4.15.0, or 5.0.0-rc.0 before 5.0.0-rc.14). Limiting factors: mandatory victim interaction (must sign in), the cookie-planting prerequisite, and the server-side-session-store requirement; note that a victim logout does not evict the planted identifier. |
| Impact | This is a genuine but conditional session-fixation flaw (CWE-384) in ash_authentication, an Elixir/Phoenix authentication library. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N, 7.4) captures the key dynamics well: network-reachable, no attacker privileges, but with an Attack Requirement (AT:P) - the attacker must first plant a session identifier - and active user interaction (UI:A) since the victim must actually sign in for the fixed identifier to become authenticated. No EPSS score, no CISA KEV listing, and no public exploit are present in the provided data, so the correct status is: no public exploit identified at time of analysis. Two signals temper the raw 7.4: (1) exploitation depends on a server-side session store - the fix's own regression tests state 'the cookie store has no identifier to rotate,' meaning deployments using Phoenix's default cookie session store are largely unaffected by identifier fixation; and (2) the attacker needs a pre-existing way to set a cookie in the victim's browser (related-domain cookie injection, XSS, or on-path position), which is itself a non-trivial prerequisite. Net: a real, patch-worthy account-takeover primitive for server-side-session Ash/Phoenix apps, but not a mass-exploitable internet-wide issue. The fix (renew: true) is confirmed in the linked commits with a dedicated session-renewal test suite. |
| Exploit ScenarioDerived | An attacker plants a known session identifier in a victim's browser (e.g., via a related-domain cookie-injection bug or XSS on the target site), then waits for or lures the victim into logging in through any ash_authentication path (default success/4, the installed AuthController, or remember-me auto-login). Because store_in_session/2 never renews the session, the attacker's pre-planted identifier now maps to the victim's authenticated session, granting full account takeover; a logout does not help the victim because clear_session/2 leaves the identifier intact. No public exploit code is identified, and exploitation requires a server-side session store. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Session fixation in the Elixir/Phoenix authentication library ash_authentication (0.2.0 before 4.15.0, and 5.0.0-rc.0 before 5.0.0-rc.14) allows an attacker who has pre-planted a session identifier in a victim's browser to ride that identifier into the victim's authenticated session. AshAuthentication.Plug.Helpers.store_in_session/2 writes the authenticated subject into the existing session with Plug.Conn.put_session/3 and never calls Plug.Conn.configure_session(renew: true), so the identifier the visitor arrived with survives into their logged-in session through every authentication path, including the default success/4, the mix ash_authentication_phoenix.install AuthController, and remember-me auto-login; logout does not close the window because clear_session/2 ends with Plug.Conn.clear_session/1, which wipes contents but leaves the identifier intact, so a planted identifier survives a logout-then-login cycle. Exploitation is conditional rather than universal: it requires a server-side session store where a rotatable identifier exists (deployments on Phoenix's default signed-cookie session store are largely unaffected, as there is no identifier to fixate), a means of planting the session cookie in the victim's browser, and victim interaction to sign in. No public exploit was identified at time of analysis, although the upstream fix commits and their accompanying regression tests are public.
RemediationAI
Vendor-released patch: upgrade ash_authentication to 4.15.0 or, on the 5.0 release-candidate line, to 5.0.0-rc.14 or later; the fix adds Plug.Conn.configure_session(conn, renew: true) immediately before the subject is written in AshAuthentication.Plug.Helpers.store_in_session/2, issuing a new identifier while carrying session contents such as return_to and flash across. Consult the advisory at https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-v577-944g-7h3x and the fix commits https://github.com/team-alembic/ash_authentication/commit/3e1d452cbf1564e87f5f97be882b66fe25af7cfa, https://github.com/team-alembic/ash_authentication/commit/872db454405ecad4fcdabd9ff3d8755d1d6a69ae, and https://github.com/team-alembic/ash_authentication/commit/a939dde9b917c072cdf10c4b0913a9886a4b0231. If upgrading is not immediately possible, the highest-value compensating control is to move the application onto Phoenix's default signed cookie session store, which has no server-side identifier to fixate - the trade-off is that cookie sessions are signed but not encrypted, so any sensitive data previously stored server-side becomes client-visible and subject to a roughly 4 KB cookie size limit. Where a server-side store must be kept, call Plug.Conn.configure_session(conn, renew: true) yourself at the point of successful sign-in (and in the remember-me auto-login path), accepting that this is a code change in the same function the vendor patched and must be re-checked against future upstream releases. Because the attacker must first plant a cookie, also harden cookie handling: use the __Host- cookie name prefix with Secure and Path=/ to prevent sibling-subdomain injection, set SameSite=Lax or Strict and HSTS to reduce on-path planting, and fix any XSS or header-injection bug that could set the session cookie - each of these is a defense-in-depth measure and none replaces the identifier rotation. Note that simply relying on logout is insufficient, since clear_session/2 leaves the planted identifier intact, so short session lifetimes and re-authentication requirements are only partial mitigations.
Affected VersionsENISA
Affected Packages
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
The root cause is CWE-384 (Session Fixation): the library fails to rotate the session identifier at the privilege boundary where an anonymous visitor becomes an authenticated user. In Phoenix, Plug.Conn.put_session/3 writes application data into the server-side session record, while Plug.Conn.configure_session(conn, renew: true) is the API that issues a fresh identifier and migrates existing contents; ash_authentication only did the former. Three upstream commits (3e1d452cbf1564e87f5f97be882b66fe25af7cfa, 872db454405ecad4fcdabd9ff3d8755d1d6a69ae, a939dde9b917c072cdf10c4b0913a9886a4b0231) add the renewal step before the subject is written, and the added test file test/ash_authentication/plug/session_renewal_test.exs exercises an ETS server-side session store specifically because the default signed cookie store has no identifier to rotate, confirming that the practical exposure surface is server-side session storage. The affected code is centralised: AshAuthentication.Phoenix.Plug.store_in_session/2 is a defdelegate to AshAuthentication.Plug.Helpers.store_in_session/2, and the default success/4 callback injected by AshAuthentication.Phoenix.Controller.__using__/1, the generated AuthController, and sign_in_using_remember_me/3 all funnel through that single function. The vendor CNA (Erlang Ecosystem Foundation) assigned CVSS 4.0 7.4 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/...) while the independent assessment rates it CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N, the difference reflecting the substantial preconditions (attacker-controlled session cookie planting plus mandatory victim sign-in) that the 3.1 vector captures as high attack complexity and required user interaction. Note also that CI/CD code-injection style tags attached to this record are not supported by the technical evidence; the mechanism is purely session lifecycle mismanagement.
Know when Session Fixation 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:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
AC:H because the attacker must first plant an identifier and the target must use a server-side session store; UI:R since the victim must sign in; PR:N and C:H/I:H for full account takeover, A:N.
Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).
CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Lifecycle Timeline
2DescriptionCVE.org
Session Fixation vulnerability in team-alembic ash_authentication allows an attacker who can plant a session identifier in a victim's browser to hold an authenticated session once that victim signs in.
AshAuthentication.Plug.Helpers.store_in_session/2 writes the authenticated subject into the existing session with Plug.Conn.put_session/3 and never calls Plug.Conn.configure_session(renew: true), so the identifier the visitor arrived with carries into their authenticated session. Every authentication event reaches this one function: the default success/4 injected by AshAuthentication.Phoenix.Controller.__using__/1, the AuthController emitted by mix ash_authentication_phoenix.install, and remember-me auto-login. AshAuthentication.Phoenix.Plug.store_in_session/2 is a defdelegate to it. Logout does not close the window either, because clear_session/2 ends with Plug.Conn.clear_session/1, which clears session contents but leaves the identifier intact, so a planted identifier survives a logout-then-login cycle.
This issue affects ash_authentication: from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.
Technical POC Analysis
The bug is 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
Every web application built on the Elixir/Phoenix ash_authentication library is exposed to a session-fixation flaw that can let an attacker who pre-plants a session identifier ride it into a victim's authenticated session and take over that account. Because the identifier survives logout, routine session hygiene will not contain the exposure, and no vendor-released patch was identified at time of analysis. Leadership should treat this as a high-priority risk for any customer- or employee-facing Phoenix service that processes sensitive data or privileged actions.
No vendor-released patch identified at time of analysis. Interim mitigations: force session-identifier rotation on every authentication success and remember-me auto-login via Plug.Conn.configure_session(conn, renew: true) in a plug that runs before session storage; invalidate the server-side session record at logout instead of relying on Plug.Conn.clear_session/1, which leaves the identifier intact; reduce session and remember-me token lifetimes; bind sessions to client attributes such as address or user agent and reject mismatches; and monitor authentication logs for anomalous session-identifier reuse across users, applying rate limiting or blocking at the edge where reuse is detected.
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
More in Session Fixation
View allSession hijacking in self-hosted Zammad 6.3.0 through 6.5.4 allows remote, unauthenticated attackers to take over a legi
Session fixation vulnerability in Apache2Triad 1.5.4 allows remote attackers to hijack web sessions via the PHPSESSID pa
Improper session management in the /login_ok.htm endpoint of DAEnetIP4 METO v1.25 allows attackers to execute a session
Tiny File Manager v2.4.7 and below is vulnerable to session fixation. Rated critical severity (CVSS 9.8), this vulnerabi
A critical vulnerability was found in PHPGurukul User Registration & Login and User Management System V3.3 in the /login
Franklin Fueling Systems System Sentinel AnyWare (SSA) version 1.6.24.492 is vulnerable to Session Fixation. Rated criti
An issue in China Mobile Communications China Mobile Intelligent Home Gateway v.HG6543C4 allows a remote attacker to exe
A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex
Session Fixation in GitHub repository ikus060/rdiffweb prior to 2.4.7. Rated critical severity (CVSS 9.8), this vulnerab
Certain NetModule devices allow Limited Session Fixation via PHPSESSID. Rated critical severity (CVSS 9.8), this vulnera
An issue was discovered in DAViCal Andrew's Web Libraries (AWL) through 0.60. Rated critical severity (CVSS 9.8), this v
clonos.php in ClonOS WEB control panel 19.09 allows remote attackers to gain full access via change password requests be
EUVD-2026-82579
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB