Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCollect legitimate signed JSON-LD activity from fediverse
-
DeliveryRe-arrange activity properties to alter semantic meaning
-
ExploitSubmit re-arranged activity to target Mastodon server
-
ExecutionNormalization passes, signature validates
-
ImpactTarget 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Network-delivered attack requiring no privileges or interaction; integrity-only impact confined to the vulnerable system's activity processing with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts
Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.4), this vulnera
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Mastodon is a free, open-source social network server based on ActivityPub. Rated critical severity (CVSS 9.9), this vul
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0. Rated c
Server-Side Request Forgery in Mastodon before 4.5.10, 4.4.17, and 4.3.23 lets attackers coerce the server into issuing
Server-side request forgery in Mastodon (versions before 4.5.10, 4.4.17, and 4.3.23) lets an attacker who controls autho
Mastodon prior to versions 4.5.8, 4.4.15, and 4.3.21 contains an unauthenticated Open Redirect vulnerability in the `/we
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
Sign-up restriction bypass in Mastodon (self-hosted ActivityPub social server) before v4.5.9, v4.4.16, and v4.3.22 allow
Mastodon is a self-hosted, federated microblogging platform. Rated high severity (CVSS 8.2), this vulnerability is remot
EUVD-2026-39054
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB