CVE-2026-136631Mastodon 4.7.4 and 4.8.0-alpha.3 before 5.0.0-beta.1 Authentication Bypass via Sign-In…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mastodon: affected: 4.7.4 to before 4.7.5, 4.8.0-alpha.3 to before 5.0.0-beta.1; fixed in
4.7.5,5.0.0-beta.1
Vendor advisories:
- https://github.com/mastodon/mastodon/security/advisories/GHSA-3xjw-gv43-3w62 (vendor-advisory)
- https://github.com/mastodon/mastodon/commit/1e1852ec1f56f068f2d18b3a255647b147913d7c (patch)
- https://github.com/mastodon/mastodon/commit/2676e857b32489688dfaf4ea002e6cd5b1d51bba (patch)
- https://github.com/mastodon/mastodon/releases/tag/v4.7.5 (release-notes)
- https://github.com/mastodon/mastodon/releases/tag/v5.0.0-beta.1 (release-notes)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.