Cyber Resilience

CVE-2026-25540

Joinmastodon Mastodon ≤ 4.3.19

Published
04 February 2026
Modified
20 February 2026
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS Score 0.0039 32th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-25540 is a medium-severity Use of Cache Containing Sensitive Information (CWE-524) vulnerability in Joinmastodon Mastodon. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Unsecured Credentials (T1552); ranked at the 32th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-49952Same product: Joinmastodon Mastodon
CVE-2023-42452Same product: Joinmastodon Mastodon
CVE-2025-62174Same product: Joinmastodon Mastodon
CVE-2023-36459Same product: Joinmastodon Mastodon
CVE-2025-27399Same product: Joinmastodon Mastodon
CVE-2024-25619Same product: Joinmastodon Mastodon
CVE-2024-34535Same product: Joinmastodon Mastodon
CVE-2026-33868Same product: Joinmastodon Mastodon
CVE-2024-23832Same product: Joinmastodon Mastodon
CVE-2025-54879Same product: Joinmastodon Mastodon

Affected Assets

joinmastodon
mastodon
≤ 4.3.19 · 4.4.0 — 4.4.13 · 4.5.0 — 4.5.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V14.3.2

Mitigating Controls (NIST 800-53 r5) AI

Enforces access authorizations so that cached sensitive data cannot be read by actors outside the intended sphere.

Directly prevents unauthorized transfer of information through shared resources such as caches.

Controls information flows to keep sensitive data from leaving its authorized control sphere via caches.

Requires cryptographic or other protection of sensitive information at rest, which covers cached data.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.DS-01 mostly match
prevents

Protecting confidentiality of data-at-rest covers caches that persist sensitive information.

PR.AA-05 partial match
prevents

Enforcing least-privilege access permissions directly limits who can read cached sensitive data.

PR.DS-10 partial match
prevents

Protecting data-in-use can mitigate exposure when caches hold transient sensitive values.

PR.IR-01 partial match
prevents

Logical access controls on environments reduce the chance an outsider can reach the cache.

PR.PS-01 partial match
prevents

Hardened configuration baselines can disable or secure caching of sensitive data.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Data leakage prevention can block unauthorized access to cached sensitive information.

prevents

Information access restriction directly limits who can read cached sensitive data.

mitigates

Information deletion ensures sensitive data is removed from caches when no longer needed.

mitigates

Cryptography can protect cached data at rest, but does not address access control scope.

prevents

Secure coding practices prevent caching of sensitive data outside intended boundaries.

References