All vulnerabilities

Servers and applications

GHSA-vx32-x96w-qq65

Accounts provisioned by LDAP or SSO with two-factor enabled can be signed in to with any password

Severity
High 7.4
Published
2 Sept 2026
Last changed
2 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.4.24, 4.5.17, 4.6.7, 4.7.1
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

An incorrect check in Mastodon's authentication flow allows moving on to the second authentication factor (TOTP, security key, backup code) without providing a valid password when the user has no database-stored password (when the account is normally authenticated using LDAP, PAM or OmniAuth).

This vulnerability allows attackers to log into accounts without requiring their password or going through the SSO flow, provided that:

  • the victim has enabled 2FA and the attacker has a valid security key, backup code or TOTP token
  • the victim has no database-stored password: the server is configured to use LDAP or PAM, or the user logs in exclusively using a server-configured SSO
From mastodon/mastodon's security advisory.

Affected software

SoftwareAffected versions
MastodonServers and applications · github:mastodon/mastodon
  • Every version before 4.4.24
  • From 4.5.0-alpha.1 before 4.5.17
  • From 4.6.0-alpha.1 before 4.6.7
  • From 4.7.0-alpha.1 before 4.7.1
  • Version 4.8.0-alpha.1

About Mastodon

free and open-source federated social networking project

From Wikidata, CC0 1.0.
GitHub stars
50,616GitHub, 15 Nov 2026
Forks
7,589GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
Ruby on Rails, React, Node.jsWikidata
First released
16 Mar 2016Wikidata
First published on GitHub
22 Feb 2016GitHub

Release lines

ReleaseLatestSecurity fixes
4.74.7.5Yes
4.64.6.11Yes
4.54.5.21Until 20 Feb 2027
4.44.4.28Until 17 Dec 2026
4.34.3.23Ended 6 May 2026
4.24.2.29Ended 8 Jan 2026

From endoflife.date.

References