SEVERITY NOT PROVIDED · CVSS 4.0 EPSS 0.6% · 43th percentile CWE-639

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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 vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredLow
User interactionNone
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
## 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. ## Workarounds 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. ## Configurations An application exposes the TOTP `setup` or `confirm_setup` action on a record the caller identifies, for example through AshJsonApi, AshGraphql or a controller that passes a looked-up user to `AshAuthentication.Strategy.Totp.Actions.confirm_setup/3`, and the attacker can read the victim's user record. Installing the attacker's secret requires `confirm_setup_enabled? true`; signing in with it alone requires `sign_in_enabled? true`. The routes AshAuthentication and AshAuthenticationPhoenix provide always use the signed-in user and are not affected.

References

Source records: EEF-CVE-2026-119215 (OSV.dev) · EPSS by FIRST, 2026-11-26.