新着 / 2026年11月25日 / CVE-2026-136631
Mastodonにログイン認証の回避の脆弱性
掲載
何が問題か
Mastodon 4.7.4および4.8.0-alpha.3(5.0.0-beta.1より前)において、authenticate_with_sign_in_token処理に認証回避の脆弱性があると報告されています。認証済みのローカルユーザーが、保留中のログイン試行を他のアカウントに紐付け直せるとされています。攻撃者は被害者のメールアドレスを指定してsign_in_token_resendを送信し、スロットリングのない6文字のトークンを推測することで、二要素認証を設定していない非アクティブなアカウントにサインインできる可能性があると説明されています。
悪用されると
悪用されると、本来ログインできないはずの非アクティブなアカウントに不正にサインインされるおそれがあります。実際に悪用された事例は公表されていません。
取るべき対応
Mastodonを5.0.0-beta.1以降へ更新してください。対応までの間は、利用していない非アクティブなアカウントの扱いと二要素認証の設定状況を確認することが望まれます。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 重要 7.6CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 0.5%(全体の上位 61.6%) |
| 問題の種類 | CWE-287 |
| CVE公開日 | 2026-11-25 |
出典
- NVD: CVE-2026-136631
- https://github.com/mastodon/mastodon/blob/v4.7.4/app/controllers/concerns/auth/sign_in_token_authentication_concern.rb#L14-L34
- https://github.com/mastodon/mastodon/commit/1e1852ec1f56f068f2d18b3a255647b147913d7c
- https://github.com/mastodon/mastodon/commit/2676e857b32489688dfaf4ea002e6cd5b1d51bba
- https://github.com/mastodon/mastodon/releases/tag/v4.7.5
- https://github.com/mastodon/mastodon/releases/tag/v5.0.0-beta.1
- https://github.com/mastodon/mastodon/security/advisories/GHSA-3xjw-gv43-3w62
- https://www.vulncheck.com/advisories/mastodon-4.7.4-and-4.8.0-alpha.3-before-5.0.0-beta.1-authentication-bypass-via-sign-in-token
公式の説明(英語の原文)
Mastodon 4.7.4 and 4.8.0-alpha.3 before 5.0.0-beta.1 contains an authentication bypass vulnerability in authenticate_with_sign_in_token that allows authenticated local users to rebind pending login attempts to other accounts. Attackers can submit sign_in_token_resend with a victim's user[email] parameter, then guess the unthrottled 6-character token to sign in as inactive accounts lacking two-factor authentication.