5.3medium
NATS is vulnerable to pre-auth DoS through WebSockets client service
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-8r68-gvr4-jh7jBIT-NATS-2026-33219GO-2026-4831
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nats-io nats-server | < 2.11.15, >= 2.12.0-RC.1, < 2.12.6 | CVE List |
| multicluster-globalhub/multicluster-globalhub-grafana-rhel9 | Not specified Not affected: from 1779579439 before *, from 1780167118 before *, from 1778867753 before * | CVE List |
| openshift4/oc-mirror-plugin-rhel9 | Not specified | CVE List |
| github.com/nats-io/nats-server/v2 (Go) | before 2.11.15, from 2.12.0-RC.1 before 2.12.6 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/nats-io/nats-server (Go) | all versions | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation nats-server | before 2.11.15, from 2.12.0 before 2.12.6 | NVD |
| nats (Bitnami) | before 2.11.15, from 2.12.0 before 2.12.6 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.
The nats-server offers a WebSockets client service, used in deployments where browsers are the NATS clients.
Problem Description
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 NATS-advisory-ID 2026-02 (aka CVE-2026-27571; GHSA-qrvq-68c2-7grw). That earlier issue was a compression bomb, this vulnerability is not. Attacks against this new issue thus require significant client bandwidth.
Affected Versions
Any version before v2.12.6 or v2.11.15
Workarounds
Disable websockets if not required for project deployment.
Go Vulnerability Database
NATS is vulnerable to pre-auth DoS through WebSockets client service in github.com/nats-io/nats-server
NVD (es)
NATS-Server es un servidor de alto rendimiento para NATS.io, un sistema de mensajería nativo de la nube y del borde. Antes de las versiones 2.11.15 y 2.12.6, un cliente malicioso que puede conectarse al puerto de WebSockets puede causar un uso de memoria ilimitado en el nats-server antes de la autenticación; esto requiere el envío de una cantidad de datos correspondiente. Esta es una variante más leve de CVE-2026-27571. Ese problema anterior era una bomba de compresión, esta vulnerabilidad no lo es. Los ataques contra este nuevo problema, por lo tanto, requieren un ancho de banda significativo del cliente. Las versiones 2.11.15 y 2.12.6 contienen una corrección. Como solución alternativa, deshabilite los websockets si no son necesarios para la implementación del proyecto.
References
| https://github.com/nats-io/nats-server/security/advisories/GHSA-8r68-gvr4-jh7j | advisory, mitigation, vendor-advisory, web | |
| https://advisories.nats.io/CVE/secnote-2026-02.txt | advisory, mitigation, vendor-advisory, web | |
| https://advisories.nats.io/CVE/secnote-2026-11.txt | advisory, mitigation, vendor-advisory, web | |
| https://github.com/advisories/GHSA-qrvq-68c2-7grw | advisory, mitigation, vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2026-33219 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2451445 | issue-tracking, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33219.json | web | |
| https://access.redhat.com/errata/RHSA-2026:22347 | vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:23345 | vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:21769 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-33219 | advisory, web | |
| https://github.com/nats-io/nats-server | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33219 changed 2026-09-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8r68-gvr4-jh7j changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4831 changed 2026-03-27 | CC-BY-4.0 |
| NVD | CVE-2026-33219 changed 2026-09-09 | Public domain |
| Bitnami Vulnerability Database | BIT-NATS-2026-33219 changed 2026-09-10 | Apache-2.0 |