NATS is vulnerable to pre-auth DoS through WebSockets client service (nats-io nats-server)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.55 % Β· percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, a malicious client which can connect to the WebSockets port can cause unbounded memory use in the nats-server before authentication; this requires sending a corresponding amount of data. This is a milder variant of CVE-2026-27571. That earlier issue was a compression bomb, this vulnerability is not. Attacks against this new issue thus require significant client bandwidth. Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, disable websockets if not required for project deployment.
Weaknesses (CWE)
- CWE-770 β Allocation of Resources Without Limits or Throttling
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-8r68-gvr4-jh7j
- https://advisories.nats.io/CVE/secnote-2026-02.txt
- https://advisories.nats.io/CVE/secnote-2026-11.txt
- https://github.com/advisories/GHSA-qrvq-68c2-7grw
- https://access.redhat.com/security/cve/CVE-2026-33219
- https://bugzilla.redhat.com/show_bug.cgi?id=2451445
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33219.json
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/errata/RHSA-2026:21769
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD Β· 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-8r68-gvr4-jh7j β NATS is vulnerable to pre-auth DoS through WebSockets client service
- GO-2026-4831 β NATS is vulnerable to pre-auth DoS through WebSockets client service in github.com/nats-io/nats-server
European references
- ENISA EUVD Β· EUVD-2026-15970
- GCVE Β· GCVE-0-2026-33219
Affected configurations (NVD CPE)
cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*< 2.11.15cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*β₯ 2.12.0 < 2.12.6
Affected products
| Product | Versions |
|---|---|
| nats-io Β· nats-server | affected < 2.11.15 ; affected >= 2.12.0-RC.1, < 2.12.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |