Read the docs

Mastodon sign-in token bypass lets users reach inactive accounts

Priority LOW 36CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.

Summary

Mastodon versions from 4.7.4 before 4.7.5 and from 4.8.0-alpha.3 before 5.0.0-beta.1 contain an authentication bypass in authenticate_with_sign_in_token. An authenticated local user can rebind pending login attempts to other accounts by submitting a victim's email address, then guess the unthrottled 6-character sign-in token. This lets the attacker sign in to inactive accounts that lack two-factor authentication, which is classified as CWE-287 (Improper Authentication).

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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 now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00644 45th percentileScored 2026-11-30
Fix Fixed mastodon (mastodon): 4.7.5, 5.0.0-beta.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mastodonmastodon4.7.4 to before 4.7.5; 4.8.0-alpha.3 to before 5.0.0-beta.14.7.5, 5.0.0-beta.1Patch availableCNA
  • mastodon Vendormastodon 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 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*——mastodon
  • cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* Versions — — ·mastodon

Remediation

Upgrade Mastodon to 4.7.5 or 5.0.0-beta.1. The sources list no advisory identifier for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA mastodon (mastodon) Fixed in 4.7.5, 5.0.0-beta.1

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-136631
  2. 2026-11-25 Alias added: GHSA-mmx6-fp2r-9r2x
  3. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2022-02004 Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon CVSS 3.1CRITICAL 9.8
  • TI-2025-34613 Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails CVSS 3.1HIGH 7.5
  • TI-2022-22936 Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull… CVSS 3.1HIGH 7.5
  • TI-2023-13359 Mastodon's blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database CVSS 3.1HIGH 7.7
  • TI-2024-16846 External OpenID Connect Account Takeover by E-Mail Change in mastodon CVSS 3.1HIGH 7.4
  • TI-2022-23978 The undo_mark_statuses_as_sensitive method in app/services/approve_appeal_service.rb in… CVSS 3.1MEDIUM 4.3
See all 53 →

Sources