Critical vulnerability
Critical vulnerability in Mastodon (GHSA-5j82-r5fw-73xp)
Mastodon · 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
- Fixed in
- 4.7.7, 5.0.0, 5.1.0-alpha.2
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.
| Software | Affected versions |
|---|---|
| MastodonServers and applications |
|
- GitHub Advisory Database https://github.com/advisories/GHSA-5j82-r5fw-73xp
- github.com https://github.com/mastodon/mastodon/security/advisories/GHSA-5j82-r5fw-73xp
From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.