Skip to main content

AshAuthentication EUVDEUVD-2026-82578

| CVE-2026-76949 CRITICAL
Authentication Bypass by Spoofing (CWE-290)
2026-09-17 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
9.1
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
    Attacker mints own remember-me token
  2. Delivery
    Plant attacker cookie in victim browser
  3. Exploit
    Default guard skips already-signed-in check
  4. Execution
    Browser plug signs victim into attacker account
  5. Impact
    Victim's entered data stored under attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires ash_authentication 4.10.0-<4.15.0 or 5.0.0-rc.0-<5.0.0-rc.14 running the per-request browser pipeline plug at the DEFAULT token setting (require_token_presence_for_authentication? disabled), which is what makes the guard's session key ('<subject_name>_token') never get written and the already-signed-in short-circuit unreachable. Enabling require_token_presence_for_authentication? causes the key to be written and closes the unreachable-guard path, so non-default configs are not exposed. Exploitation further requires the attacker to (a) hold a valid remember-me token for their own account and (b) plant it as a cookie in the victim's browser via a cookie-injection channel (shared/parent-domain cookie write, XSS, or on-path/MITM), and (c) the victim to subsequently enter data while operating in the swapped session for the compromise to have effect - these are the realistic limiting factors beyond the raw score.

Impact

Signals conflict on severity. The vendor CVSS 4.0 base score is 9.1 (Critical) with AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H, but the described mechanism is a session-fixation / login-CSRF variant rather than classic account takeover: the attacker does not steal the victim's credentials or session - instead the attacker plants their OWN remember-me cookie, causing the victim to be silently re-authenticated INTO the attacker's account, so data the victim subsequently enters is exposed to the attacker. That materially changes the real-world picture: the AT:P (attack requirement) already concedes a precondition - the attacker must be able to set a cookie in the victim's browser (e.g. via a shared parent domain/subdomain, XSS, an on-path/MITM position, or another cookie-injection primitive), which is a non-trivial gate the headline PR:N/UI:N vector understates. There is no EPSS score, no CISA KEV listing, and no public exploit code in the input (the three referenced GitHub commits are the FIX, not a weaponized PoC), so this is 'no public exploit identified at time of analysis.' Net: a genuinely real logic flaw that triggers on DEFAULT configuration (the guard reads a session key that is only written when require_token_presence_for_authentication? is enabled), which raises its practical footprint among affected deployments, but the impact is subtler than 'critical unauthenticated RCE/takeover' and requires an attacker-controlled cookie-planting channel plus continued victim interaction to cause harm. Priority: patch promptly for anyone on affected versions, but the 9.1 overstates likelihood versus a straight remote unauthenticated compromise.

Exploit ScenarioDerived

An attacker obtains a valid remember-me cookie for their own ash_authentication account, then uses a cookie-injection vector (shared-domain cookie write, XSS, or on-path interception) to plant that cookie in a victim's browser. Because the default-config guard reads a session key that is never written, the per-request browser pipeline honours the planted cookie on every request and replaces the victim's live authenticated session with one for the attacker's account; the victim then unknowingly enters data (messages, uploads, form input) into the attacker-controlled account. No public exploit code was identified in the provided sources.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-rc.0 before 5.0.0-rc.14) allows an attacker who can plant a remember-me cookie in a victim's browser to displace the victim's live authenticated session with one belonging to the attacker's own account, so anything the victim enters afterwards is captured under attacker-controlled state. The root cause is a guard/reader key mismatch: AshAuthentication.Plug.Helpers.sign_in_using_remember_me/3 checks the session for a '<subject_name>_token' key, but store_in_session/2 only writes that key when require_token_presence_for_authentication? is enabled and otherwise writes the bare subject name, leaving the already-signed-in short-circuit unreachable and the remember-me sign-in running on every request through the per-request browser pipeline plug. No public exploit code or confirmed active exploitation was identified at time of analysis, but exploitation is constrained by prerequisites - the attacker needs a remember-me token for their own account, a cookie-injection channel (shared/parent-domain cookie write, XSS, or on-path position), and subsequent victim interaction - which independent assessment reflects with CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N; vendor fixes are available in 4.15.0 and 5.0.0-rc.14.

RemediationAI

Upgrade AshAuthentication to the fixed releases: 4.15.0 for the 4.x line, or 5.0.0-rc.14 for the 5.0.0 prerelease line - these correspond to the upstream fix commits referenced in GHSA-hh34-374j-pfr5 (https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-hh34-374j-pfr5), with the advisory index at https://cna.erlef.org/cves/CVE-2026-76949.html and the OSV entry at https://osv.dev/vulnerability/EEF-CVE-2026-76949; vendor-released patch versions are 4.15.0 and 5.0.0-rc.14. Where an immediate upgrade is not possible, the most effective compensating control is to enable require_token_presence_for_authentication? (with token storage enabled, e.g. store_all_tokens? true) on affected resources, which causes store_in_session/2 to write the '<subject_name>_token' key and restores the reachable already-signed-in branch, closing the bypass on default configurations - the trade-off is mandatory token persistence and per-request token presence checks, adding datastore lookups and requiring token cleanup/migration. Because the attack hinges on cookie injection, also harden the remember-me cookie: omit the Domain attribute so the cookie is host-only and cannot be planted from a sibling or parent domain, set Secure, HttpOnly and SameSite=Lax/Strict (noting SameSite does not defend against same-site subdomain planting), and treat any XSS or on-path/MITM foothold as an enabling condition worth remediating separately. Enable the log_out_everywhere add-on with apply_on_password_change? to revoke outstanding remember-me tokens on credential change, and if RememberMe is not required, disable the strategy entirely until patched; monitoring should treat an unexplained identity switch mid-session as a possible indicator of this technique.

Affected VersionsENISA

ash_authentication 3d3de314692558d06ec13945f857f00514e95a8c <*
ash_authentication 4.10.0 <4.15.0
ash_authentication 5.0.0-rc.0 <5.0.0-rc.14

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 authentication framework extension for the Elixir Ash ecosystem; its RememberMe strategy, introduced in the 4.10.0 line, issues long-lived (default 30-day) remember-me tokens that are delivered as browser cookies and replayed through the per-request browser pipeline plug. The defect is classified CWE-290 (Authentication Bypass by Spoofing) and is fundamentally a state-key inconsistency rather than a cryptographic break: the sign-in guard in AshAuthentication.Plug.Helpers.sign_in_using_remember_me/3 probes the session for "<subject_name>_token", while the companion store_in_session/2 only writes that suffixed key when the resource is configured with require_token_presence_for_authentication? enabled - under the default setting it writes the bare subject name instead. Consequently the guard's "already signed in" branch is dead code at default configuration, and the remember-me sign-in path executes even when the visitor already holds an authenticated session. The separate read path, authenticate_resource_from_session/4, resolves the correct key, which is precisely why the mismatch went unnoticed: the guard and the reader disagree about which session key represents a signed-in subject. Because the remember-me cookie is honoured unconditionally, a cookie planted by an attacker supersedes the victim's session identity, producing session fixation/substitution with both confidentiality and integrity impact (VC:H/VI:H, no availability impact). The vendor's fix commits (3d3de314692558d06ec13945f857f00514e95a8c, 9a34136b844abe179da1075067cf2835c64dcc12, b9568a53b438247238b1c5a4f49c8d84650f4bba) and GHSA-hh34-374j-pfr5 accompany the corrected releases; the advisory documentation also demonstrates cookie hardening patterns (HttpOnly, Secure, SameSite=Lax) and the log_out_everywhere add-on for revoking remember-me tokens on password change.

Know when Elixir 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 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 6.8 MEDIUM

AC:H and UI:R because the attacker must plant a cookie via a separate injection channel and the victim must then interact/enter data; C:H/I:H as victim data flows into the attacker-controlled account, 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:P/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
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

Lifecycle Timeline

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

DescriptionCVE.org

Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who can plant a remember-me cookie in a victim's browser to replace that victim's authenticated session with one for the attacker's own account.

AshAuthentication.Plug.Helpers.sign_in_using_remember_me/3 skips re-authenticating an already-signed-in visitor by checking the session for "<subject_name>_token", but store_in_session/2 writes that key only when require_token_presence_for_authentication? is enabled and otherwise writes the bare subject name. At the default setting the guard therefore reads a key that is never written, its already-signed-in branch is unreachable, and the remember-me sign-in runs on every request through the per-request browser pipeline plug. A planted remember-me cookie is consequently honoured even for a visitor holding a live authenticated session, so whatever the victim enters afterwards lands in data the attacker controls. The read path in authenticate_resource_from_session/4 selects the key correctly, so the guard and the reader disagree about which key holds the session.

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

Technical POC Analysis

CWE-290 Authentication Bypass by Spoofing.

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

AshAuthentication, an Elixir session-authentication library embedded in customer-facing and internal web applications, carries a critical session-swapping flaw that lets an attacker overwrite a signed-in user's session with one tied to the attacker's own account, so everything the victim does afterwards - data entry, transactions, approvals - is captured in attacker-controlled state while the victim sees a normal signed-in experience. No public exploit identified at time of analysis, but exploitation requires the ability to plant a remember-me cookie in a victim's browser, which narrows the attack path to users whose devices or channels an attacker can influence. Leadership should treat this as a trust and data-integrity issue rather than a routine patch: the affected population is every user of applications running the unpatched library versions, the failure is invisible to those users, and no vendor-released patch was identified at the time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enable require_token_presence_for_authentication? so store_in_session/2 writes the '<subject_name>_token' key and the already-signed-in short-circuit becomes reachable, or disable the remember-me feature and its per-request browser pipeline plug if it is not business-required; set Secure, HttpOnly and appropriate SameSite attributes on session cookies to reduce cookie-planting opportunities; invalidate existing sessions and remember-me cookies and force re-authentication; and instrument mid-session account-identity changes as a detection control.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche Elixir/Phoenix (Ash framework) authentication library, small 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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.

More in Elixir

View all
CVE-2026-54451 HIGH POC
8.2 Jul 15

Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac

CVE-2026-91187 CRITICAL
9.3 Sep 24

Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate

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-77866 CRITICAL
9.0 Sep 15

Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent

CVE-2026-111101 HIGH
8.7 Oct 26

Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets

CVE-2026-113436 HIGH
8.7 Oct 26

Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se

CVE-2026-121809 HIGH
8.2 Nov 13

Denial of service through CPU exhaustion in the Elixir gRPC stack: grpc_server 1.0.0 through 1.1.0 (exclusive) and the p

CVE-2026-104635 HIGH
8.2 Oct 09

Memory-exhaustion denial of service in the elixir-protobuf library (protobuf) from 0.8.0 onward allows an unauthenticate

CVE-2026-91043 HIGH
8.2 Sep 28

Memory exhaustion denial-of-service in Elixir Mint affects versions 1.1.0 through 1.10.x and allows a malicious or compr

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