Servers and applications
CVE-2026-25540
Signature-dependent ActivityPub collection responses cached under signature-independent keys
- Severity
- Medium 6.5
- Published
- 3 Feb 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 4.3.19, 4.4.13, 4.5.6
- Exploit chance
- 0.4% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- CWE-524
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L- Also known as
- GHSA-ccpr-m53r-mfwr
- Sources
- NVD, Project advisories (GitHub)
Description
When AUTHORIZED_FETCH is enabled, the ActivityPub endpoints for pinned posts and featured hashtags have contents that depend on the account that signed the HTTP request. However, these contents are stored in an internal cache and reused with no regards to the signing actor.
As a result, an empty response generated for a blocked user account may be served to requests from legitimate non-blocked actors, or conversely, content intended for non-blocked actors may be returned to blocked actors.
A blocked actor may access a user's pinned posts and feature tags if they request it within 3 minutes of a non-blocked actor. Furthermore, a blocked actor may prevent non-blocked actors from accessing that information by being the first to query those endpoints.
This can only happen if the target user has personally blocked the blocked actor or their server.
Affected software
| Software | Affected versions |
|---|---|
MastodonServers and applications · cpe:a:joinmastodon:mastodon |
|
MastodonServers and applications · github:mastodon/mastodon |
|
About Mastodon
free and open-source federated social networking project
- GitHub stars
- 50,616GitHub, 15 Nov 2026
- Forks
- 7,589GitHub, 15 Nov 2026
- Latest release
- v4.7.5GitHub, 15 Nov 2026
- Released
- 3 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- Written in
- Ruby on Rails, React, Node.jsWikidata
- First released
- 16 Mar 2016Wikidata
- First published on GitHub
- 22 Feb 2016GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 4.7 | 4.7.5 | Yes |
| 4.6 | 4.6.11 | Yes |
| 4.5 | 4.5.21 | Until 20 Feb 2027 |
| 4.4 | 4.4.28 | Until 17 Dec 2026 |
| 4.3 | 4.3.23 | Ended 6 May 2026 |
| 4.2 | 4.2.29 | Ended 8 Jan 2026 |
From endoflife.date.
Vulnerabilities in Mastodon
- In our list
- 63
- Published in the last 12 months
- 30
- Critical, last 12 months
- 1
- High, last 12 months
- 11
- Known exploited
- 0
- GHSA-qp4r-p842-mw5cClient IP address spoofing and block/rate-limit bypassMedium 6.5 3 Nov 2026
- GHSA-cf49-73r7-rxj6Denial of service in JSON-LD processing of pathologic activitiesMedium 5.3 3 Nov 2026
- GHSA-3xjw-gv43-3w62Password verification bypass when logging into inactive accountsHigh 3 Nov 2026
- GHSA-288h-6j8h-6x5jInsufficient ActivityPub identifier verificationCritical 29 Oct 2026
- GHSA-vgm8-frgh-rh2vDenial of service in JSON-LD processing of pathologic activitiesMedium 5.3 10 Sept 2026
- GHSA-62j4-hvj7-px3fDisabling a staff account does not remove its access to the admin APIHigh 7.2 2 Sept 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-25540
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-25540
- GitHub Advisory Database https://github.com/advisories/GHSA-ccpr-m53r-mfwr
- github.com https://github.com/mastodon/mastodon/security/advisories/GHSA-ccpr-m53r-mfwr