AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account
- State
- Published
- Severity
- 7.6 High
- Published
- Nov 3, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 3, 2026
Description
Authorization Bypass Through User-Controlled Key vulnerability in team-alembic ash_authentication allows a user with an account to install a TOTP secret they control on another user's account, and then sign in as that user or hold their second factor.
AshAuthentication.Strategy.Totp.ConfirmSetupChange verified a setup token but did not check that it was issued to the record being confirmed, so an attacker's own pending secret could be confirmed onto another user's record. The TOTP setup changes, ConfirmSetupChange, GeneratePendingSetupChange and GenerateSecretChange, also marked their changesets as AshAuthentication interactions, which the standard AshAuthenticationInteraction policy bypass lets through. A policy limiting setup and confirm_setup to the actor's own record therefore never ran when an application exposed those actions by record key, and a direct setup call on another user's record returned that user's pending secret and setup token.
This issue affects ash_authentication: from 5.0.0-rc.0 before 5.0.0-rc.16.
| Product | Versions |
|---|---|
| ash_authentication team-alembic | 5.0.0-rc.0 to before 5.0.0-rc.16 Affected |
| ash_authentication team-alembic | 6e7a880698614887527a87df206b4eb0c0fbd8c1 to before 4058be0f519c2e9b0d2266e90f9c7d8547d54574 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.6 High | EEF |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- TOTP setup in AshAuthentication lets a user install their own authenticator secret on another user's accountVendor AdvisoryRelated
- EEF CNA record for CVE-2026-119215Related
- OSV record EEF-CVE-2026-119215Related
- Introducing commit 6e7a880 in team-alembic/ash_authenticationRelated
- Fix commit 4058be0 in team-alembic/ash_authenticationPatch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.