CVE-2026-136631: 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 authenticatewithsignintoken that allows authenticated local users to rebind pending login attempts to other accounts. Attackers can submit signintokenresend with a victim's user[email] parameter, then guess the unthrottled 6-character token to sign in as inactive accounts lacking two-factor authentication.
Affected Software
Event History
Frequently Asked Questions
Which accounts are most exposed to takeover?
Inactive accounts without two-factor authentication are the stated target. The attacker must know or supply the victim account's email address when requesting sign_in_token_resend.
What access and actions does an attacker need?
The attacker needs an authenticated local-user account. They can rebind a pending login attempt by submitting sign_in_token_resend with the victim's user[email], then guess the unthrottled six-character sign-in token.
Does two-factor authentication affect exploitation?
Yes. The described sign-in path targets inactive accounts that lack two-factor authentication; accounts protected by two-factor authentication are not identified as affected by this takeover scenario.
How can administrators assess whether their deployment is affected?
Review the deployed Mastodon version against the affected range: 4.7.4 and 4.8.0-alpha.3 before 5.0.0-beta.1. Also identify inactive accounts without two-factor authentication, as these are the accounts described as susceptible.