Skip to content
High 7.6

AshAuthenticationのTOTP設定で他人のアカウントに認証機能を登録される脆弱性

CVE-2026-119215 First seen on SecPulse

Summary

AshAuthenticationには、利用者が自分の認証アプリ用の秘密鍵を他人のアカウントに登録できる脆弱性(CVE-2026-119215)があります。登録されると、攻撃者がそのアカウントにサインインしたり、2要素目の認証を握ったりできるおそれがあります。影響を受けるのはバージョン5.0.0-rc.0から5.0.0-rc.16より前のAshAuthenticationで、修正版が公開されています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

AshAuthenticationには、利用者が自分の認証アプリ用の秘密鍵を他人のアカウントに登録できる脆弱性(CVE-2026-119215)があります。登録されると、攻撃者がそのアカウントにサインインしたり、2要素目の認証を握ったりできるおそれがあります。影響を受けるのはバージョン5.0.0-rc.0から5.0.0-rc.16より前のAshAuthenticationで、修正版が公開されています。

Affected packages

PackageAffected → Fixed
team-alembicash_authentication
≥ 6e7a880698614887527a87df206b4eb0c0fbd8c1, < 4058be0f519c2e9b0d2266e90f9c7d8547d54574→ 4058be0f519c2e9b0d2266e90f9c7d8547d54574
Hexash_authentication
≥ 5.0.0-rc.0, < 5.0.0-rc.16→ 5.0.0-rc.16
Original description The description as published by the source.

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.S…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details