# CVE-2026-76949: Remember-me sign-in guard reads a session key that is never written in ash\_authentication, allowing session replacement

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.77% (percentile 52, 2026-11-26)
- **CWE:** CWE-290
- **Published:** 2026-09-17T21:57:50.146Z
- **Modified:** 2026-11-20T06:17:41.077Z

## Who should check

- Anyone running team-alembic ash\_authentication \>= 4.10.0, \< 4.15.0; \>= 5.0.0-rc.0, \< 5.0.0-rc.14
- Anyone running team-alembic ash\_authentication \>= 3d3de314692558d06ec13945f857f00514e95a8c, \< \*

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

## Affected and fixed versions

- team-alembic ash\_authentication: \>= 4.10.0, \< 4.15.0; \>= 5.0.0-rc.0, \< 5.0.0-rc.14 (cvelist)
- team-alembic ash\_authentication: \>= 3d3de314692558d06ec13945f857f00514e95a8c, \< \* (cvelist)

## Mitigation

- Upgrade ash\_authentication to 5.0.0-rc.14 or later.
- Vendor workaround: Set require\_token\_presence\_for\_authentication? true on the authenticated resource's token configuration. store\_in\_session/2 then writes the key the guard reads, so the already-signed-in branch fires and the remember-me sign-in no longer runs against a live session. Note this changes session storage semantics for the whole application and requires a token resource.
- 
- Otherwise remove the remember-me plug from the browser pipeline, which disables remember-me auto-login entirely.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-76949. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-76949.md
Affected: team-alembic ash_authentication >= 4.10.0, < 4.15.0; >= 5.0.0-rc.0, < 5.0.0-rc.14; team-alembic ash_authentication >= 3d3de314692558d06ec13945f857f00514e95a8c, < *
Fixed in: team-alembic ash_authentication 4.15.0, team-alembic ash_authentication 5.0.0-rc.14

Steps:
1. Search this machine and project for team-alembic ash_authentication: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-76949 being exploited?

There is no confirmed exploitation: CVE-2026-76949 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-76949?

Critical: CVSS 9.1 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-76949?

team-alembic ash\_authentication \>= 4.10.0, \< 4.15.0; \>= 5.0.0-rc.0, \< 5.0.0-rc.14; team-alembic ash\_authentication \>= 3d3de314692558d06ec13945f857f00514e95a8c, \< \*.

### Is there a fix for CVE-2026-76949?

Yes. Fixed in team-alembic ash\_authentication 4.15.0, team-alembic ash\_authentication 5.0.0-rc.14. Upgrade ash\_authentication to 5.0.0-rc.14 or later. Vendor workaround: Set require\_token\_presence\_for\_authentication? true on the authenticated resource's token configuration. store\_in\_session/2 then writes the key the guard reads, so the already-signed-in branch fires and the remember-me sign-in no longer runs against a live session. Note this changes session storage semantics for the whole application and requires a token resource.  Otherwise remove the remember-me plug from the browser pipeline, which disables remember-me auto-login entirely.

### How do I check if I'm affected by CVE-2026-76949?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-hh34-374j-pfr5>
- patch: <https://github.com/team-alembic/ash_authentication/commit/3d3de314692558d06ec13945f857f00514e95a8c>
- patch: <https://github.com/team-alembic/ash_authentication/commit/9a34136b844abe179da1075067cf2835c64dcc12>
- patch: <https://github.com/team-alembic/ash_authentication/commit/b9568a53b438247238b1c5a4f49c8d84650f4bba>
- other: <https://cna.erlef.org/cves/CVE-2026-76949.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-76949>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-76949>

HTML: <https://flawdb.com/CVE-2026-76949> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-76949>
