Mastodon 4.7.4 and 4.8.0-alpha.3 before 5.0.0-beta.1 Authentication Bypass via Sign-In Token
- State
- Published
- Severity
- 7.6 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 24, 2026
Description
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.
| Product | Versions |
|---|---|
| mastodon mastodon | 4.7.4 to before 4.7.5 Affected4.8.0-alpha.3 to before 5.0.0-beta.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.6 High | VulnCheck | |
| 3.1 | 6.8 Medium | VulnCheck |
Weaknesses
- CWE-287 Improper Authentication
References
- GitHub Security Advisory (GHSA-3xjw-gv43-3w62)Vendor Advisory
- https://github.com/mastodon/mastodon/commit/1e1852ec1f56f068f2d18b3a255647b147913d7cPatch
- https://github.com/mastodon/mastodon/commit/2676e857b32489688dfaf4ea002e6cd5b1d51bbaPatch
- mastodon v4.7.5 Release NotesRelease Notes
- mastodon v5.0.0-beta.1 Release NotesRelease Notes
- https://github.com/mastodon/mastodon/blob/v4.7.4/app/controllers/concerns/auth/sign_in_token_authentication_concern.rb#L14-L34Technical Details
- VulnCheck Advisory: Mastodon 4.7.4 and 4.8.0-alpha.3 before 5.0.0-beta.1 Authentication Bypass via Sign-In TokenThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.