CVE-2026-119215: AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account
Published 2026-11-03 · Updated 2026-11-25 · Also known as EEF-CVE-2026-119215, GHSA-gx67-694c-655c
Summary
An authorization bypass in the AshAuthentication TOTP setup allows an authenticated user to install their own authenticator secret onto another user's account. Engineering teams using affected versions of the ash_authentication package should update immediately.
Who is affected
This flaw affects deployments of team-alembic ash_authentication versions from 5.0.0-rc.0 before 5.0.0-rc.16 where applications expose TOTP setup or confirm_setup actions on a record chosen by the caller. An attacker with a user account can hijack another user's account by confirming a controlled TOTP secret, allowing them to sign in as the victim or compromise their second factor.
Exploitability
The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N) indicates network accessibility with low attack complexity, low privileges required, and no user interaction, but requires a previous attack precondition (AT:P). This vulnerability has high impact on confidentiality and integrity for the affected component, and CISA KEV status is no.
Remediation
- Upgrade the Hex package ash_authentication to version 5.0.0-rc.16 or later.
- Do not expose setup or confirm_setup on a record chosen directly by the caller; instead, call them through AshAuthentication.Strategy.Totp.Actions with the signed-in user.
How to check your project
- Check the project's dependency manager configuration (such as mix.exs) to determine if ash_authentication version 5.0.0-rc.0 up to 5.0.0-rc.15 is in use.
Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | ash_authentication |
>= 5.0.0-rc.0, < 5.0.0-rc.16 | 5.0.0-rc.16 | mix deps.update ash_authentication |
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | Low |
| User interaction | None |
| Confidentiality (vulnerable system) | High |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the authorization bypass in ash_authentication?
AshAuthentication.Strategy.Totp.ConfirmSetupChange verified a setup token without checking that it was issued to the specific record being confirmed, and policy bypasses allowed unauthorized setups on other user records.
Are the default routes provided by AshAuthentication affected?
No, the routes provided directly by AshAuthentication and AshAuthenticationPhoenix always use the signed-in user and are not affected.
Is this vulnerability actively exploited in the wild?
There is no indication of active exploitation, and CISA KEV status is no.
Original advisory description
References
- ADVISORY https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-gx67-694c-655c
- WEB https://cna.erlef.org/cves/CVE-2026-119215.html
- WEB https://github.com/team-alembic/ash_authentication/commit/6e7a880698614887527a87df206b4eb0c0fbd8c1
- FIX https://github.com/team-alembic/ash_authentication/commit/4058be0f519c2e9b0d2266e90f9c7d8547d54574
- PACKAGE https://hex.pm/packages/ash_authentication
Source records: EEF-CVE-2026-119215 (OSV.dev) · EPSS by FIRST, 2026-11-26.