CVE-2026-25540
February 04, 2026
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.
Affected Packages
https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v4.4.0 <v4.4.13Fix Suggestion:
Update to version v4.4.13https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v4.5.0 <v4.5.6Fix Suggestion:
Update to version v4.5.6https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v0.1.0 <v4.3.19Fix Suggestion:
Update to version v4.3.19Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Use of Cache Containing Sensitive Information
EPSS
Base Score:
0.05