Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136631: high-severity vulnerability (CVSS 7.6) in mastodon mastodon.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.6.
Affected products and versions
mastodon mastodon >= 4.7.4, < 4.7.5; mastodon mastodon >= 4.8.0-alpha.3, < 5.0.0-beta.1
| Product | Versions | Fixed in |
|---|---|---|
| mastodon mastodon | >= 4.7.4, < 4.7.5 | — |
| mastodon mastodon | >= 4.8.0-alpha.3, < 5.0.0-beta.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/mastodon/mastodon/security/advisories/GHSA-3xjw-gv43-3w62 — CVE Program
- https://github.com/mastodon/mastodon/commit/1e1852ec1f56f068f2d18b3a255647b147913d7c — CVE Program
- https://github.com/mastodon/mastodon/commit/2676e857b32489688dfaf4ea002e6cd5b1d51bba — CVE Program
- https://github.com/mastodon/mastodon/releases/tag/v4.7.5 — CVE Program
- https://github.com/mastodon/mastodon/releases/tag/v5.0.0-beta.1 — CVE Program
- https://github.com/mastodon/mastodon/blob/v4.7.4/app/controllers/concerns/auth/sign_in_token_authentication_concern.rb#L14-L34 — CVE Program
- 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 — CVE Program
Weaknesses (CWE): CWE-287
Relevant change history
Published
Preliminary advisory published.