CVE-2026-27571 | nats-server websockets are vulnerable to pre-auth memory DoS

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The WebSockets handling of NATS messages handles compressed messages via the WebSockets negotiated compression. Prior to versions 2.11.2 and 2.12.3, the implementation bound the memory size of a NATS message but did not independently bound the memory consumption of the memory stream when constructing a NATS message which might then fail validation for size reasons. An attacker can use a compression bomb to cause excessive memory consumption, often resulting in the operating system terminating the server process. The use of compression is negotiated before authentication, so this does not require valid NATS credentials to exploit. The fix, present in versions 2.11.2 and 2.12.3, was to bounds the decompression to fail once the message was too large, instead of continuing on. The vulnerability only affects deployments which use WebSockets and which expose the network port to untrusted end-points.

Published: 2026-02-24 Last update: 2026-02-26 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-27571 is rated Low Risk (26.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-27571

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-27 0.06% 0.03% -0.03%
2 2026-02-25 0.06%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-27571

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2026-27571

GitHub Security Advisory for CVE-2026-27571

GHSA-qrvq-68c2-7grw · Severity: medium · Ecosystem: go — nats-server websockets are vulnerable to pre-auth memory DoS

OS Trackers for CVE-2026-27571

vendor priority summary link
alpine CVE-2026-27571: 1 source package rows (nats-server); 34 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 34. https://security.alpinelinux.org/vuln/CVE-2026-27571
debian not yet assigned CVE-2026-27571 not yet assigned priority: Debian including 1 source packages (nats-server), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 2, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-27571
redhat medium https://access.redhat.com/security/cve/CVE-2026-27571
ubuntu medium CVE-2026-27571 medium priority: Ubuntu including 1 source packages (nats-server), 4 status rows across 4 suites (jammy, noble, questing, upstream): needs-triage 3, DNE 1. https://ubuntu.com/security/CVE-2026-27571

Affected software / configurations for CVE-2026-27571

Vendor Product Version Raw CPE
linuxfoundation nats-server < 2.11.12 cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*
linuxfoundation nats-server >= 2.12.0, < 2.12.3 cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*

References for CVE-2026-27571

cvelogic Threat Intelligence