CVE-2026-85500team-alembic ash_authentication
Authentication Bypass by Primary Weakness in AshAuthentication
Critical 9.1 No auth needed
Follow: this CVE · team-alembic · team-alembic ash_authentication We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 4.0
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 17, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-305
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
AshAuthentication allows an unconfirmed user to obtain a session, bypassing mandatory email confirmation requirements. The vulnerability affects versions 4.3.8 to 4.14.x and 5.0.0-rc.0 to 5.0.0-rc.13. An unauthenticated attacker can sign in without confirming their email address when actions are invoked directly or through API layers such as AshGraphql or AshJsonApi.
Show the original NVD text
Authentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement.
AshAuthentication.Strategy.Password.Actions.check_user/2 decides whether the attribute named by require_confirmed_with is set using a bare is_nil(Map.get(user, value)). When that attribute is not selected on the loaded record Map.get/2 returns %Ash.NotLoaded{}, and when a field policy denies it for the current actor it returns %Ash.ForbiddenField{}. Neither is nil, so the rejection branch is skipped and sign-i
require_confirmed_with is enforced in two places, and neither holds in every configuration. sign_in_with_token and register are checked only inside AshAuthentication.Strategy.Password.Actions, not on the action itself, so any caller that invokes the action directly skips the check. An API layer such as AshGraphql or AshJsonApi invokes the action directly, so this applies to the default configuration. Where a check does run it compares the confirmation attribute against nil. That attribute holds %Ash.NotLoaded{} or %Ash.ForbiddenField{} when it sets select_by_default?: false, when an API layer narrows the read's select, or when a field policy hides it from the sign-in actor. Neither struct is nil, so those configurations read every user as confirmed.
This issue affects ash_authentication: from 4.3.8 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.
What to do
Patch available · fixed versions: 4.15.0, 5.0.0-rc.14
Update ash_authentication to version 4.15.0 or later, or to 5.0.0-rc.14 or later if using the rc branch.
- Apply the vendor's security update for ash_authentication.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Hex | ash_authentication |
≥ 4.3.8 < 4.15.0 |
4.15.0 |
— |
| Hex | ash_authentication |
≥ 5.0.0-rc.0 < 5.0.0-rc.14 |
5.0.0-rc.14 |
— |
Per OSV / GitHub Advisories (EEF-CVE-2026-85500). Check the version in your lockfile before upgrading.
Affected products
- team-alembic · ash_authentication
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.