CVE-2026-27571nats-server websockets are vulnerable to pre-auth memory DoS
- 5.9MediumCVSS base score
- 0.54%Exploitation in 30 daysEPSS · top 54% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 4 days later
· 4 days later
Published
- 2 days later
· 2 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.54% · top 54% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
- affected < 2.11.12
- affected >= 2.12.0-RC.1, < 2.12.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/nats-io/nats-serverGHSA-qrvq-68c2-7grw (opens in a new tab)
- Gogithub.com/nats-io/nats-server/v2GHSA-qrvq-68c2-7grw (opens in a new tab)
References
References4
- https://github.com/nats-io/nats-server/security/advisories/GHSA-qrvq-68c2-7grw (opens in a new tab)x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/f77fb7c4535e6727cc1a2899cd8e6bbdd8ba2017 (opens in a new tab)x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.11.12 (opens in a new tab)x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.12.3 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-8538 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qrvq-68c2-7grw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-27571)Record last updated .