CVE-2026-136631
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 authenticat…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products (Mastodon)
| Product | Affected versions |
|---|---|
| Mastodon | from 4.7.4 before 4.7.5 from 4.8.0-alpha.3 before 5.0.0-beta.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/mastodon/mastodon/security/advisories/GHSA-3xjw-gv43-3w62
- 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/blob/v4.7.4/app/controllers/concerns/auth/sign_in_token_authentication_concern.rb#L14-L34
- 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
- https://github.com/advisories/GHSA-mmx6-fp2r-9r2x
- https://nvd.nist.gov/vuln/detail/CVE-2026-136631