MastodonApplication · Joinmastodon

CVE-2026-23964

MEDIUM · 5.4 CVSS v3.1 Published 2026-01-22
Fix available
A fix is available. Upgrade to 4.3.18 / 4.4.12 or later.
See remediation →
60/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Mastodon versions prior to 4.5.5, 4.4.12, and 4.3.18 contain an Insecure Direct Object Reference (IDOR) in the web push subscription update endpoint. The endpoint does not verify that the authenticated user owns the subscription being modified, allowing any authenticated user to update another user's push subscription settings by guessing or obtaining the numeric subscription ID. This enables attackers to modify notification filters and subscribed types, disrupt push notifications for victims, and leak the victim's push subscription endpoint URL.

MitigationUpgrade to Mastodon versions v4.5.5, v4.4.12, or v4.3.18 which contain the patch for this vulnerability.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
MastodonApplication
Affected:< 4.3.18>= 4.4.0, < 4.4.12>= 4.5.0, < 4.5.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Mastodon version
    Locate the installed Mastodon version by checking the version file, Git tags, package.json, or the admin dashboard under Site Settings. Compare against the affected ranges: < 4.3.18, >= 4.4.0 and < 4.4.12, or >= 4.5.0 and < 4.5.5.
    Affected if The installed version falls within any of the affected version ranges.
  2. Confirm web push is enabled
    Verify that web push notifications are enabled on the instance by checking the admin settings or the presence of push subscription configuration in the database. This feature is required for the vulnerable endpoint to be exploitable.
    Affected if Web push subscriptions are enabled on the instance.
  3. Identify the push subscription update endpoint
    Locate the API endpoint responsible for updating push subscriptions. This is typically under /api/v1/push/subscription or similar path in the Mastodon API. Review the controller code to see if it validates that the authenticated user owns the subscription being modified.
    Affected if The endpoint does not verify subscription ownership before allowing updates.
  4. Test ownership validation
    Using an authenticated account, attempt to update a push subscription with a numeric ID that belongs to a different user. If the update succeeds without ownership verification, the vulnerability is present.
    Affected if The update request succeeds for a subscription not owned by the authenticated user.

If the installed Mastodon version is within the affected ranges and web push is enabled, the instance is likely vulnerable to IDOR on the push subscription update endpoint.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.3.18 / 4.4.12 / 4.5.5 or later
Fixed in 4.3.184.4.124.5.5
Interim mitigation

Upgrade to Mastodon versions v4.5.5, v4.4.12, or v4.3.18 which contain the patch for this vulnerability.

Recommended fix High confidence

Mastodon v4.5.5 (or v4.4.12 or v4.3.18 depending on your version branch)

  1. Backup your Mastodon instance database and files before upgrading
  2. Check your current Mastodon version (typically in the admin interface or via CLI tools)
  3. Upgrade to Mastodon v4.5.5, v4.4.12, or v4.3.18 (depending on your current major version branch)
  4. After upgrading, verify the web push subscription endpoint now properly authorizes users to only modify their own subscriptions
  5. Test that push notifications continue to work correctly for your users
Caveat Minor/patch releases typically have no breaking changes; review release notes for any migration notes

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Mastodon Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,780
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-23964 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-23964 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data