1. Archivio CVE
  2. 2026
  3. CVE-2026-25540

CVE-2026-25540

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L 6.5 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
joinmastodon mastodon < 4.3.19 –
joinmastodon mastodon >= 4.4.0 < 4.4.13 –
joinmastodon mastodon >= 4.5.0 < 4.5.6 –
Tutte le 42 vulnerabilità di Joinmastodon Mastodon

Tipo di vulnerabilità

CWE-524 Use of Cache Containing Sensitive Information

The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione Protect information stored in cache.
Architettura e progettazione Do not store unnecessarily sensitive information in the cache.
Architettura e progettazione Consider using encryption in the cache.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 83 CVE di tipo CWE-524, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org