AshAuthenticationでメール未確認のユーザーがログインできる脆弱性
概要
2026年9月に公表された、AshAuthenticationの認証回避の脆弱性です。確認が必要なメールアドレスの未確認ユーザーが、確認を済ませずにセッションを取得できるおそれがあります。影響するのは4.3.8から4.15.0未満、および5.0.0-rc.0から5.0.0-rc.14未満です。修正版が公開されているため、該当版を使っている場合は修正版への更新を検討してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
CVE-2026-85500 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「CVE-2026-85500」を検索してください。
CVE-2026-85500 — CWE-305
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
脆弱性 (CWE-305) が報告されています。
影響バージョンはベンダーのアドバイザリで確認してください。
重要度: ?。不正な操作・情報露出のリスクがあります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで影響コンポーネントを特定する。
-
2
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| team-alembicash_authentication |
7d37bc6e4df6697b5813d2f373f0fdb08f813f98 以上(修正版なし)→ 1076639a9d40213088d110c79ba6735b8cc85b16, 17f4c25a372d1778c9cc457759e6357570d83711 |
1076639a9d40213088d110c79ba6735b8cc85b16, 17f4c25a372d1778c9cc457759e6357570d83711 |
| Hexash_authentication |
4.3.8 以上 4.15.0 未満→ 4.15.0 5.0.0-rc.0 以上 5.0.0-rc.14 未満→ 5.0.0-rc.14 |
4.15.0 5.0.0-rc.14 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
Authentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement.
AshAuthentication.Strategy.Password.Actions.check_user/2 decides whether the attribute named by require_confirmed_with is set using a bare is_nil(Map.get(user, value)). When that attribute is not selected on the loaded record Map.get/2 returns %Ash.NotLoaded{}, and when a field policy denies it for the current actor it returns %Ash.ForbiddenField{}. Neither is nil, so the rejection branch is skipped and sign-i
require_confirmed_with is enforced in two places, and neither holds in every
configuration. sign_in_with_token and register are checked only inside
AshAuthentication.Strategy.Password.Actions, not on the action itself, so any caller
that invokes the action directly skips the check. An API layer such as AshGraphql or
AshJsonApi invokes the action directly, so this applies to the default configuration.
Where a check does run it compares the confirmation attribute against nil. That
attribute holds %Ash.NotLoaded{} or %Ash.ForbiddenField{} when it sets
select_by_default?: false, when an API layer narrows the read's select, or when a
field policy hides it from the sign-in actor. Neither struct is nil, so those
configurations read every user as confirmed.
This issue affects ash_authentication: from 4.3.8 before 4.15.0 and from 5.0.0-rc…
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- package hex.pm
- patch github.com
- patch github.com
- web cna.erlef.org
- web github.com
- web osv.dev
- web github.com
- web repo.hex.pm