1. Home
  2. Vulnerabilities
  3. CVE-2026-119215

CVE-2026-119215

AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account

Published 3 Nov 2026 · modified 19 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 41/100

Summary

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.

Affected products and versions

team-alembic (1 line(s))
team-alembic
ProductVersionsFixed inSource
ash_authentication from 5.0.0-rc.0 (included) to 5.0.0-rc.16 (excluded) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

Workaroundofficial source

Do not expose setup or confirm_setup on a record the caller chooses. Call them through AshAuthentication.Strategy.Totp.Actions with the signed-in user, as the built-in routes do.

Source : CNA (vendor or assigner)

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS 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 (CVSS 4.0, CNA:EEF)
Weakness
CWE-639 · Autre (CWE-639)

How this data is obtained and calculated