CVE-2026-25540
CVE-2026-25540 is a medium-severity vulnerability in Joinmastodon Mastodon with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-524.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (31st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-5329
- Weakness: CWE-524
- Affected product: Joinmastodon Mastodon
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-25540?
- 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.
- How severe is CVE-2026-25540?
- CVE-2026-25540 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability low.
- Is CVE-2026-25540 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (31st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-25540?
- CVE-2026-25540 affects Joinmastodon Mastodon. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-25540?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-25540 have an EU (EUVD) identifier?
- Yes. CVE-2026-25540 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-5329.
- When was CVE-2026-25540 published?
- CVE-2026-25540 was published on 2026-02-04 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
More vulnerabilities in Joinmastodon Mastodon
- CVE-2023-36460 — Critical (CVSS 9.9): Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 3.5.0 and prior to…
- CVE-2022-2166 — Critical (CVSS 9.8): Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0.
- CVE-2022-24307 — Critical (CVSS 9.8): Mastodon before 3.3.2 and 3.4.x before 3.4.6 has incorrect access control because it does not compact incoming signed…
- CVE-2018-21018 — Critical (CVSS 9.8): Mastodon before 2.6.3 mishandles timeouts of incompletely established sessions.
- CVE-2024-23832 — Critical (CVSS 9.4): Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for…
- CVE-2023-36459 — Critical (CVSS 9.3): Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 1.3 and prior to…
All CVEs affecting Joinmastodon Mastodon →
Other CWE-524 vulnerabilities
- CVE-2026-53943 — Critical (CVSS 9.6): Ghost is a Node.js content management system. From until 6.37.0, when Ghost is behind a shared caching layer that…
- CVE-2025-64762 — Critical (CVSS 9.1): The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS &…
- CVE-2026-50170 — High (CVSS 7.5): Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and…
- CVE-2026-48901 — High (CVSS 7.5): The InputFilter::getInstance() method omitted a security sensitive parameter from the instance cache key.
- CVE-2024-27917 — High (CVSS 7.5): Shopware is an open commerce platform based on Symfony Framework and Vue. The Symfony Session Handler pops the Session…
- CVE-2021-24027 — High (CVSS 7.5): A cache configuration issue prior to WhatsApp for Android v2.21.4.18 and WhatsApp Business for Android v2.21.4.18 may…