Medium severity · published Feb 4, 2026
CVE-2026-25540
Mastodon's signature-dependent ActivityPub collection responses cached under signature-independent keys (Web Cache Poisoning via `Rails.cache`)
6.5
CVSS
0.4%
EPSS
No
On KEV
Description
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.3.19, 4.4.13, 4.5.6, Mastodon is vulnerable to web cache poisoning via `Rails.cache. 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. This issue has been patched in versions 4.3.19, 4.4.13, 4.5.6.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 39% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
mastodon · mastodon
< 4.3.19; < 4.4.13; < 4.5.6 · source: vendor, NVD
Affected product
MA
mastodon
mastodon
More from mastodon
8.7
CVE-2026-46348
Mastodon: SSRF Bypass via IPv6 Unspecified Address (::)
8.6
CVE-2026-47389
Mastodon: SSRF protection bypass on older Ruby versions
8.2
CVE-2026-27468
Mastodon may allow unconfirmed FASP to make subscriptions
7.5
CVE-2026-72915
Mastodon: Personally-identifying information disclosure due to incorrect access control validation
7.5
CVE-2026-72914
Mastodon: Exhausting data by an unauthenticated request to the admin retention API