CVE-2026-46349

Mastodon: LD-Signature Bypass via JSON-LD Named-Graph Restructuring

Published Jun 24, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Mastodon normalizes JSON‑LD signed activities to guard against tampering. Before versions 4.5.10, 4.4.17, and 4.3.23 the normalization step did not fully protect against a class of spoofing attacks. An attacker can rearrange a legitimate signed JSON‑LD activity from a trusted actor so that it is interpreted differently by the receiving server. This bypass allows the attacker to impersonate the actor or perform unauthorized actions under the guise of a valid signature.

Affected Systems

The product affected is the Mastodon social‑network server. All instances running a version older than 4.5.10, 4.4.17, or 4.3.23 are vulnerable. Upgrading to any of those releases or a later one removes the flaw.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate overall risk. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, suggesting no known widespread exploitation. The flaw operates on inbound signed messages, so attackers would need network access to send crafted ActivityPub traffic. Because the vulnerability is only present in older releases, an immediate patch considerably reduces the possibility of exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade your Mastodon instance to version 4.5.10, 4.4.17, or 4.3.23 or newer, which contain the fix for the JSON‑LD signature normalization flaw.
  • If an immediate upgrade is not possible, block processing of new signed ActivityPub objects from unknown or untrusted origins until the patch is applied.
  • Subscribe to Mastodon security advisories to stay informed of future updates or related issues.

Generated by OpenCVE AI on June 24, 2026 at 21:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Joinmastodon
Joinmastodon mastodon
Vendors & Products Joinmastodon
Joinmastodon mastodon
Type Values Removed Values Added
Description 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.
Title Mastodon: LD-Signature Bypass via JSON-LD Named-Graph Restructuring
Weaknesses CWE-347
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 1:16 PM
Reserved
May 13, 2026, 6:37 PM
Status
Deferred
Published
Jun 24, 2026, 8:16 PM
Modified
Jun 25, 2026, 4:32 PM