All vulnerabilities

Servers and applications

GHSA-5j82-r5fw-73xp

LD-Signature forgery: one signed activity lets a remote server act as that user on any Mastodon instance

Severity
Critical
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
4.4.30, 4.5.23, 4.6.13, 4.7.7, 5.0.0, 5.1.0-alpha.2
Sources
Project advisories (GitHub)

Description

Any ActivityPub server that holds a Linked Data signed activity of a user can make every other Mastodon server accept activities written by the attacker as coming from that user. On the receiving server the attacker can post in the victim's name (public posts, followers-only posts and private mentions), rewrite the victim's existing posts, follow, like, boost, report and block as the victim, move the victim's followers to an attacker account, and add an attacker key to the victim's account, after which the attacker no longer needs a signature at all. Getting the one signed activity is easy: follow the victim from the attacker's server (unlocked accounts accept the follow automatically), or receive a public reply of the victim that another server forwards. A signed Delete of one of the victim's posts works too. One captured signature can be reused for any number of forged activities.

From mastodon/mastodon's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
MastodonServers and applications · github:mastodon/mastodon
  • Every version before 4.4.30
  • From 4.5.0-alpha.1 before 4.5.23
  • From 4.6.0-alpha.1 before 4.6.13
  • From 4.7.0-alpha.1 before 4.7.7
  • From 4.8.0-alpha.1 before 5.0.0
  • From 5.1.0-alpha.1 before 5.1.0-alpha.2

About Mastodon

free and open-source federated social networking project

From Wikidata, CC0 1.0.
GitHub stars
50,582GitHub, 29 Nov 2026
Forks
7,548GitHub, 29 Nov 2026
Latest release
v4.7.6GitHub, 29 Nov 2026
Released
19 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
React, Node.js, RubyWikidata
First released
16 Mar 2016Wikidata
First published on GitHub
22 Feb 2016GitHub

Release lines

ReleaseLatestSecurity fixes
4.74.7.6Yes
4.64.6.12Yes
4.54.5.22Until 20 Feb 2027
4.44.4.29Until 17 Dec 2026
4.34.3.23Ended 6 May 2026
4.24.2.29Ended 8 Jan 2026

From endoflife.date.

References