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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*

History

20 Feb 2026, 21:02

Type Values Removed Values Added
Summary
  • (es) Mastodon es un servidor de red social gratuito, de código abierto, basado en ActivityPub. Antes de las versiones 4.3.19, 4.4.13, 4.5.6, Mastodon es vulnerable al envenenamiento de caché web a través de 'Rails.cache'. Cuando AUTHORIZED_FETCH está habilitado, los puntos finales de ActivityPub para publicaciones fijadas y hashtags destacados tienen contenidos que dependen de la cuenta que firmó la solicitud HTTP. Sin embargo, estos contenidos se almacenan en una caché interna y se reutilizan sin tener en cuenta al actor firmante. Como resultado, una respuesta vacía generada para una cuenta de usuario bloqueada puede ser servida a solicitudes de actores legítimos no bloqueados, o, a la inversa, contenido destinado a actores no bloqueados puede ser devuelto a actores bloqueados. Este problema ha sido parcheado en las versiones 4.3.19, 4.4.13, 4.5.6.
CPE cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
References () https://github.com/mastodon/mastodon/security/advisories/GHSA-ccpr-m53r-mfwr - () https://github.com/mastodon/mastodon/security/advisories/GHSA-ccpr-m53r-mfwr - Vendor Advisory
First Time Joinmastodon mastodon
Joinmastodon

04 Feb 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-04 22:16

Updated : 2026-02-20 21:02


NVD link : CVE-2026-25540

Mitre link : CVE-2026-25540

CVE.ORG link : CVE-2026-25540


JSON object : View

Products Affected

joinmastodon

  • mastodon
CWE
CWE-524

Use of Cache Containing Sensitive Information