Skip to main content

ash_authentication CVE-2026-86688

| EUVDEUVD-2026-82579 HIGH
Session Fixation (CWE-384)
2026-09-17 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
7.4
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Plant known session identifier in victim browser
  2. Delivery
    Lure victim to authenticate on the app
  3. Exploit
    store_in_session writes subject without session renewal
  4. Execution
    Attacker replays fixed identifier
  5. Impact
    Hold 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

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

ash_authentication 0.2.0 <4.15.0
ash_authentication 5.0.0-rc.0 <5.0.0-rc.14
ash_authentication a939dde9b917c072cdf10c4b0913a9886a4b0231 <*

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

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

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 7.4 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 23:04 EUVD
CVE Published
Sep 17, 2026 - 22:17 cve.org
HIGH 7.4

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche Elixir/Phoenix authentication library in the BEAM ecosystem
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-102489 CRITICAL POC
9.4 Sep 30

Session hijacking in self-hosted Zammad 6.3.0 through 6.5.4 allows remote, unauthenticated attackers to take over a legi

CVE-2017-12965 CRITICAL POC
9.8 Aug 23

Session fixation vulnerability in Apache2Triad 1.5.4 allows remote attackers to hijack web sessions via the PHPSESSID pa

CVE-2025-28242 CRITICAL POC
9.8 Apr 18

Improper session management in the /login_ok.htm endpoint of DAEnetIP4 METO v1.25 allows attackers to execute a session

CVE-2022-40916 CRITICAL POC
9.8 Feb 06

Tiny File Manager v2.4.7 and below is vulnerable to session fixation. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2025-45949 CRITICAL POC
9.8 Apr 28

A critical vulnerability was found in PHPGurukul User Registration & Login and User Management System V3.3 in the /login

CVE-2023-48929 CRITICAL POC
9.8 Dec 08

Franklin Fueling Systems System Sentinel AnyWare (SSA) version 1.6.24.492 is vulnerable to Session Fixation. Rated criti

CVE-2023-41012 CRITICAL POC
9.8 Sep 05

An issue in China Mobile Communications China Mobile Intelligent Home Gateway v.HG6543C4 allows a remote attacker to exe

CVE-2023-31498 CRITICAL POC
9.8 May 11

A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex

CVE-2022-3269 CRITICAL POC
9.8 Sep 23

Session Fixation in GitHub repository ikus060/rdiffweb prior to 2.4.7. Rated critical severity (CVSS 9.8), this vulnerab

CVE-2021-39290 CRITICAL POC
9.8 Aug 23

Certain NetModule devices allow Limited Session Fixation via PHPSESSID. Rated critical severity (CVSS 9.8), this vulnera

CVE-2020-11729 CRITICAL POC
9.8 Apr 15

An issue was discovered in DAViCal Andrew's Web Libraries (AWL) through 0.60. Rated critical severity (CVSS 9.8), this v

CVE-2019-18418 CRITICAL POC
9.8 Oct 24

clonos.php in ClonOS WEB control panel 19.09 allows remote attackers to gain full access via change password requests be

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy