CVE-2026-23961 Mastodon may allow a remote suspension bypass

Medium 5.3 Published Updated

Remote suspended users can bypass suspension restrictions to display posts in timelines, requiring administrators to upgrade Mastodon.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23961?

CVE-2026-23961 is a medium-severity authentication bypass vulnerability in mastodon, published on 22 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Mastodon is a free, open-source social network server based on ActivityPub. Mastodon allows server administrators to suspend remote users to prevent interactions. However, some logic errors allow already-known posts from such suspended users to appear in timelines if boosted. Furthermore, under certain circumstances, previously-unknown posts from suspended users can be processed. This issue allows old posts from suspended users to occasionally end up on timelines on all Mastodon versions. Additionally, on Mastodon versions from v4.5.0 to v4.5.4, v4.4.5 to v4.4.11, v4.3.13 to v4.3.17, and v4.2.26 to v4.2.29, remote suspended users can partially bypass the suspension to get new posts in. Mastodon versions v4.5.5, v4.4.12, v4.3.18 are patched.

Weakness: CWE-863

Which versions are affected by CVE-2026-23961?

1 open source package ship an affected version, including mastodon. It affects 1 product.

PackageAffectedFixed in
mastodon BitnamiAll versions4.3.18, 4.4.12, 4.5.5

Products include Joinmastodon Mastodon.

How do I fix CVE-2026-23961?

Upgrade mastodon to a fixed version for your release line: 4.3.18, 4.4.12 or 4.5.5.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-23961 being exploited?

There is no known exploitation of CVE-2026-23961 in the wild and no public exploit code.

Sources

Also known as BIT-mastodon-2026-23961, GHSA-5h2f-wg8j-xqwp.

Is CVE-2026-23961 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free