All vulnerabilities

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.

From mastodon/mastodon's security advisory.

Affected software

SoftwareAffected versions
MastodonServers and applications · cpe:a:joinmastodon:mastodon
  • Every version before 4.3.19
  • From 4.4.0 before 4.4.13
  • From 4.5.0 before 4.5.6
MastodonServers and applications · github:mastodon/mastodon
  • Every version before 4.3.19

About Mastodon

free and open-source federated social networking project

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
4.74.7.5Yes
4.64.6.11Yes
4.54.5.21Until 20 Feb 2027
4.44.4.28Until 17 Dec 2026
4.34.3.23Ended 6 May 2026
4.24.2.29Ended 8 Jan 2026

From endoflife.date.

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