Denial of service in Mastodon via pathological JSON-LD activities
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-vgm8-frgh-rh2v. Fix status from GitHub.
Summary
Mastodon versions before 4.4.24, from 4.5.0-alpha.1 before 4.5.17, from 4.6.0-alpha.1 before 4.6.7, and from 4.7.0-alpha.1 before 4.7.1 are affected, as is 4.8.0-alpha.1. Mastodon does not mitigate JSON-LD documents that trigger pathological cases of the RDF Dataset Canonicalization algorithm used to verify Linked Data Signatures. A remote attacker can craft activities that take up to several minutes each to process, causing denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
## Summary Mastodon has no mitigation for JSON-LD documents running into pathological cases of the RDF Dataset Canonicalization algorithm used for verifying Linked Data Signatures. ## Impact An attacker can craft activities that can each take up to several minutes for Mastodon to process, causing Denial of Service. ## Patches Mastodon versions v4.6.7, v4.5.17, and v4.4.24 include mitigations for such pathological cases.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | mastodon | < 4.4.24 | 4.4.24 | Patch available | GHSA-vgm8-frgh-rh2v |
| — | mastodon | >= 4.5.0-alpha.1, < 4.5.17 | 4.5.17 | Patch available | GHSA-vgm8-frgh-rh2v |
| — | mastodon | >= 4.6.0-alpha.1, < 4.6.7 | 4.6.7 | Patch available | GHSA-vgm8-frgh-rh2v |
| — | mastodon | >= 4.7.0-alpha.1, < 4.7.1 | 4.7.1 | Patch available | GHSA-vgm8-frgh-rh2v |
| — | mastodon | 4.8.0-alpha.1 | 4.8.0-alpha.2 | Patch available | GHSA-vgm8-frgh-rh2v |
- mastodon Vendor— Affected < 4.4.24 Fixed in 4.4.24 Patch available GHSA-vgm8-frgh-rh2v
- mastodon Vendor— Affected >= 4.5.0-alpha.1, < 4.5.17 Fixed in 4.5.17 Patch available GHSA-vgm8-frgh-rh2v
- mastodon Vendor— Affected >= 4.6.0-alpha.1, < 4.6.7 Fixed in 4.6.7 Patch available GHSA-vgm8-frgh-rh2v
- mastodon Vendor— Affected >= 4.7.0-alpha.1, < 4.7.1 Fixed in 4.7.1 Patch available GHSA-vgm8-frgh-rh2v
- mastodon Vendor— Affected 4.8.0-alpha.1 Fixed in 4.8.0-alpha.2 Patch available GHSA-vgm8-frgh-rh2v
Remediation
Upgrade Mastodon to version 4.4.24, 4.5.17, 4.6.7, 4.7.1 or 4.8.0-alpha.2, matching the release branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-vgm8-frgh-rh2v mastodon Fixed in 4.4.24 Advisory →
- Fix · GHSA-vgm8-frgh-rh2v mastodon Fixed in 4.5.17 Advisory →
- Fix · GHSA-vgm8-frgh-rh2v mastodon Fixed in 4.6.7 Advisory →
- Fix · GHSA-vgm8-frgh-rh2v mastodon Fixed in 4.7.1 Advisory →
- Fix · GHSA-vgm8-frgh-rh2v mastodon Fixed in 4.8.0-alpha.2 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-vgm8-frgh-rh2v
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences