Security Resilience

CVE-2025-61598

Discourse ≤ 3.5.2

Published
28 October 2025
Modified
19 October 2026
Patch / advisory
CVSS Score v4 6.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0030 23th percentile
Risk Priority 39 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-61598 is a medium-severity Use of Cache Containing Sensitive Information (CWE-524) vulnerability in Discourse. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique OS Credential Dumping (T1003); ranked at the 23th 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

Discourse is an open source discussion platform. Version before 3.6.2 and 3.6.0.beta2, default Cache-Control response header with value no-store, no-cache was missing from error responses. This may caused unintended caching of those responses by proxies potentially leading to cache poisoning…

more

attacks. This vulnerability is fixed in 3.6.2 and 3.6.0.beta2.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1114.001 Local Email Collection Collection
Adversaries may target user email on local systems to collect sensitive information.
T1555.002 Securityd Memory Credential Access
An adversary with root access may gather credentials by reading `securityd`’s memory.
T1558.005 Ccache Files Credential Access
T1563.001 SSH Hijacking Lateral Movement
Adversaries may hijack a legitimate user's SSH session to move laterally within an environment.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-32244Same product: Discourse Discourse
CVE-2023-25819Same product: Discourse Discourse
CVE-2024-49765Same product: Discourse Discourse
CVE-2025-58054Same product: Discourse Discourse
CVE-2026-27166Same product: Discourse Discourse
CVE-2023-28112Same product: Discourse Discourse
CVE-2024-37157Same product: Discourse Discourse
CVE-2023-47121Same product: Discourse Discourse
CVE-2026-33185Same product: Discourse Discourse
CVE-2023-28111Same product: Discourse Discourse

Affected Assets

discourse
discourse
3.6.0 · ≤ 3.5.2 · ≤ 3.6.0

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)

Our mappings, made for this CVE.

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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.DS-01 mostly match
blocks

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

PR.AA-05 partial match
blocks

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

PR.DS-10 partial match
blocks

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

PR.IR-01 partial match
blocks

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

PR.PS-01 partial match
blocks

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

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

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

finds

A.8.29's SOURCE reach (code review, static analysis) and RUNTIME reach (penetration testing, dynamic testing) both reach CWE-524: code review and data-flow static analysis can identify sensitive data being placed in caches or missing cache-control directives, and penetration/dynamic testing can observe cache exposure from outside. The remainder is bounded and nameable -- caching done by opaque third-party libraries, browser-side caching under complex conditions, and cases where the sensitivity of cached data is not apparent from the code alone -- which keeps it at `mostly` rather than `full`.

prevents

Training makes developers aware that caches can leak sensitive information and that cache-control headers and access restrictions matter, which prevents some instances of this implementation-phase weakness, but the specific technical choices (no-cache headers, cache access scoping, deciding what to cache) require detailed knowledge that training provides only partially and fallibly.

A.8.11 Data masking partial match
blocks

A.8.11's masking techniques (especially encryption) would block exploitation of CWE-524 when applied to cached sensitive data, but the clause does not specifically address caches and the weakness is fundamentally about access control to the cache, which data masking does not reach.

prevents

A.8.21's caching guidance (item c under security features) lets the organization configure network-service caching parameters so users can choose caching based on confidentiality requirements, which prevents some instances of CWE-524 at the network service layer (e.g., CDN caching of sensitive responses); the remainder is application-level caching decisions — in-memory caches, HTTP response headers, query caches — which the clause does not reach.

prevents

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

References