CVE-2026-23964 Mastodon has insufficient access control to push notification settings

Medium 6.5 Published Updated

Authenticated users can modify other users' push notification settings and leak subscription endpoints via insecure direct object reference.

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-23964?

CVE-2026-23964 is a medium-severity missing authorization 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. Prior to versions 4.5.5, 4.4.12, and 4.3.18, an insecure direct object reference in the web push subscription update endpoint lets any authenticated user update another user's push subscription by guessing or obtaining the numeric subscription id. This can be used to disrupt push notifications for other users and also leaks the web push subscription endpoint. Any user with a web push subscription is impacted, because another authenticated user can tamper with their push subscription settings if they can guess or obtain the subscription id. This allows an attacker to disrupt push notifications by changing the policy (whether to filter notifications from non-followers or non-followed users) and subscribed notification types of their victims. Additionally, the endpoint returns the subscription object, which includes the push notification endpoint for this subscription, but not its keypair. Mastodon versions v4.5.5, v4.4.12, v4.3.18 are patched.

Weakness: CWE-639, CWE-863

Which versions are affected by CVE-2026-23964?

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-23964?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-23964 being exploited?

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

Sources

Also known as BIT-mastodon-2026-23964, GHSA-f3q8-7vw3-69v4.

Is CVE-2026-23964 in your software?

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

Check your SBOMs for free