Skip to main content

CVE-2026-76949: CWE-290 Authentication Bypass by Spoofing in team-alembic ash_authentication

0
Critical
VulnerabilityCVE-2026-76949cvecve-2026-76949cwe-290
Published: 09/17/2026 (09/17/2026, 21:57:50 UTC)
Source: CVE Database V5
Vendor/Project: team-alembic
Product: ash_authentication

Description

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.

CVSS v4.0

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

team-alembic

ash_authentication

Affected versions
>=4.10.0 <4.15.0>=5.0.0-rc.0 <5.0.0-rc.14

team-alembic

ash_authentication

ash_authentication
pkg:hex/ash_authentication
Affected versions
>=4.10.0 <4.15.0>=5.0.0-rc.0 <5.0.0-rc.14
GitHub Actionsmore threats →cve
team-alembic/ash_authentication
pkg:github/team-alembic/ash_authentication
CPE configurations
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 22:31:33 UTC

Technical Analysis

The vulnerability arises because AshAuthentication.Plug.Helpers.sign_in_using_remember_me/3 checks for a session key "<subject_name>_token" to skip re-authentication of an already signed-in user, but the session key is only written under certain configuration settings. By default, the key checked by the guard is never written, making the guard's check ineffective and causing the remember-me sign-in to run on every request. Consequently, a planted remember-me cookie can override an existing authenticated session, allowing the attacker to hijack the session context. The inconsistency between the guard and the session reader about which session key to use leads to this authentication bypass.

Potential Impact

An attacker who can plant a remember-me cookie in a victim's browser can hijack the victim's authenticated session, effectively impersonating the victim. This can lead to unauthorized access to the victim's account and any associated privileges. The vulnerability has a high severity with a CVSS 4.0 score of 9.1, indicating critical impact with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality and integrity impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid scenarios where attackers can plant remember-me cookies in victim browsers. Review configuration settings related to require_token_presence_for_authentication? to understand their effect on session key handling. Monitor vendor channels for patches or updates addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-09-17T05:30:01.744Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aac671755bf5e2cf5ffd6a0

Added to database: 09/17/2026, 22:17:59 UTC

Last enriched: 09/17/2026, 22:31:33 UTC

Last updated: 09/18/2026, 03:13:09 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses