CVE-2026-25540 Details
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.
A web cache poisoning vulnerability has been identified in Mastodon, affecting versions prior to 4.3.19, 4.4.13, and 4.5.6. When 'AUTHORIZED_FETCH' is enabled, the ActivityPub endpoints for pinned posts and featured hashtags return content based on the account that signed the HTTP request. This content is then cached internally and reused without considering the signing actor. As a result, an empty response for a blocked user may be served to non-blocked actors, or vice versa. This vulnerability allows blocked actors to access pinned posts and featured tags of non-blocked users, or to disrupt access to this information by querying these endpoints first.
Users can upgrade to Mastodon versions 4.3.19, 4.4.13, or 4.5.6 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mastodon/mastodon/security/advisories/GHSA-ccpr-m53r-mfwr | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-524 | Use of Cache Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| joinmastodon mastodon | < 4.3.19 >= 4.4.0, < 4.4.13 >= 4.5.0, < 4.5.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 20, 2026 | Initial Analysis | [email protected] |
| Feb 4, 2026 | New CVE Received | [email protected] |