Skip to main content

Mastodon CVE-2026-46349

| EUVDEUVD-2026-39054 MEDIUM
Improper Verification of Cryptographic Signature (CWE-347)
2026-06-24 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Collect legitimate signed JSON-LD activity from fediverse
  2. Delivery
    Re-arrange activity properties to alter semantic meaning
  3. Exploit
    Submit re-arranged activity to target Mastodon server
  4. Execution
    Normalization passes, signature validates
  5. Impact
    Target processes spoofed activity as authentic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
Exploitation Conditions

The target Mastodon instance must have ActivityPub federation enabled, which is the default and standard operating mode for all public-facing Mastodon servers - disabling federation renders the platform non-functional for its core use case. The attacker must possess or capture a valid Linked-Data Signed JSON-LD activity from a legitimate third-party actor; on the public fediverse, such activities are broadcast openly and are trivially collectable. No authentication to the target Mastodon instance is required (confirmed by PR:N in CVSS vector). Exploitation is limited to the integrity of activity processing - there is no confidentiality or availability impact. Exploitation does not affect Mastodon instances operating in fully isolated or allowlist-only federation modes, though such configurations are operationally atypical.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N yields a 5.3 Medium score, reflecting network-reachable, unauthenticated exploitation with low integrity impact and no confidentiality or availability consequence. No EPSS score was provided in the input, and no KEV listing confirms active exploitation. The tags reference 'JWT Attack' and 'Information Disclosure', though the description does not support a confidentiality breach - these tags may be misapplied or reflect a broader classification scheme rather than a literal data-leak. The real-world risk is primarily limited to the integrity of the federated activity graph: a successful exploit could cause a Mastodon server to process a spoofed activity (e.g., a falsely attributed post, follow, boost, or delete) as if it originated from a legitimate actor. For public-facing Mastodon instances participating in the fediverse, this is a meaningful trust integrity issue, though not catastrophic. The absence of a POC and KEV listing reduces urgency, but the low attack complexity (AC:L, PR:N) means exploitation is accessible once the technique is understood. Upgrade is the appropriate response; compensating controls are limited in the federation context.

Exploit ScenarioDerived

An attacker operating or compromising any ActivityPub-compatible server obtains a legitimately signed JSON-LD activity (such as a public Note or Follow) from a real third-party actor - easily gathered from public fediverse traffic. The attacker re-arranges the JSON-LD structure in a way that preserves the cryptographic signature's validity under Mastodon's normalization logic but causes the activity to be interpreted with different semantic content or attribution. The crafted activity is submitted to the target Mastodon instance, which processes it as authentic, potentially crediting the spoofed action to the original signing actor.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Linked-Data Signature normalization in Mastodon's ActivityPub federation layer permits activity spoofing against servers running versions prior to 4.5.10, 4.4.17, and 4.3.23. An attacker can take a legitimately signed JSON-LD activity from a real third-party actor, re-arrange its structure, and relay it to a target Mastodon instance where it passes signature validation but is interpreted with altered semantic meaning. No public exploit has been identified at time of analysis, and this vulnerability is not listed in CISA KEV, though the integrity impact on federated social graph trust is meaningful for operators of public-facing instances.

RemediationAI

Upgrade to Mastodon 4.5.10, 4.4.17, or 4.3.23, which contain the fix for the Linked-Data Signature normalization flaw, as confirmed by the vendor advisory GHSA-chgx-jx3p-rf73 at https://github.com/mastodon/mastodon/security/advisories/GHSA-chgx-jx3p-rf73. Instances running unsupported branches (4.2.x and earlier) should migrate to a supported branch at the earliest opportunity, as no patch is available for those versions. As a partial compensating control, administrators may consider temporarily restricting federation to a tightly controlled allowlist of trusted remote servers, which reduces the attack surface by limiting the pool of third-party signed activities the instance will process - but this trade-off significantly degrades fediverse connectivity and is only appropriate as a short-term measure. There is no known configuration toggle to disable Linked-Data Signature processing independently of ActivityPub federation.

Affected VersionsENISA

mastodon 4.5.0-beta.1, < 4.5.10

Affected Packages

euvd mastodon_4_5_0_beta_1 fix: 4.5.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mastodon implements the ActivityPub W3C protocol for federated social networking, using JSON-LD (Linked Data in JSON) for activity representation and Linked-Data Signatures (LD-Signatures) for verifying the authenticity of cross-server activity delivery. JSON-LD documents must be canonicalized before signature verification - a process that normalizes equivalent representations into a canonical form. CWE-347 (Improper Verification of Cryptographic Signature) is the root cause class: the canonicalization/normalization step does not sufficiently constrain which structural re-arrangements of the JSON-LD object are considered equivalent, allowing an attacker to rearrange property ordering or framing in a signed document such that it both passes signature verification and is parsed with different semantic intent. This is analogous to canonicalization confusion attacks seen in XML-DSIG and SAML contexts. Affected CPE: cpe:2.3:a:mastodon:mastodon:*:*:*:*:*:*:*:* covering all versions before the patched releases.

Know when Mastodon gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 5.3 MEDIUM

Network-delivered attack requiring no privileges or interaction; integrity-only impact confined to the vulnerable system's activity processing with no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 21:02 EUVD

DescriptionCVE.org

Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.5.10, 4.4.17, and 4.3.23, Mastodon's normalization of incoming activities signed with Linked-Data Signatures does not sufficiently protect the activities from a certain class of spoofing, allowing attackers to re-arrange a valid signed JSON-LD activity from a third-party actor to have it processed differently. This vulnerability is fixed in 4.5.10, 4.4.17, and 4.3.23.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular fediverse platform, significant but niche social network deployment
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2022-46405 HIGH POC
7.5 Dec 04

Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts

CVE-2024-25618 HIGH POC
7.4 Feb 14

Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.4), this vulnera

CVE-2023-28853 MEDIUM POC
6.5 Apr 04

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2023-36460 CRITICAL
9.9 Jul 06

Mastodon is a free, open-source social network server based on ActivityPub. Rated critical severity (CVSS 9.9), this vul

CVE-2024-23832 CRITICAL
9.8 Feb 01

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2022-2166 CRITICAL
9.8 Nov 16

Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0. Rated c

CVE-2026-46348 HIGH
8.7 Jun 24

Server-Side Request Forgery in Mastodon before 4.5.10, 4.4.17, and 4.3.23 lets attackers coerce the server into issuing

CVE-2026-47389 HIGH
8.6 Jun 24

Server-side request forgery in Mastodon (versions before 4.5.10, 4.4.17, and 4.3.23) lets an attacker who controls autho

CVE-2026-33868 MEDIUM POC
4.3 Mar 27

Mastodon prior to versions 4.5.8, 4.4.15, and 4.3.21 contains an unauthenticated Open Redirect vulnerability in the `/we

CVE-2026-27468 HIGH
8.2 Feb 24

Unauthenticated attackers can bypass FASP administrator approval in Mastodon 4.4.0-4.4.13 and 4.5.0-4.5.6 to subscribe t

CVE-2026-41259 HIGH
8.2 Apr 23

Sign-up restriction bypass in Mastodon (self-hosted ActivityPub social server) before v4.5.9, v4.4.16, and v4.3.22 allow

CVE-2024-37903 HIGH
8.2 Jul 05

Mastodon is a self-hosted, federated microblogging platform. Rated high severity (CVSS 8.2), this vulnerability is remot

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy