GitHub Advisoryadvisory · Go

GHSA-8r68-gvr4-jh7j NATS is vulnerable to pre-auth DoS through WebSockets client service

MEDIUM Published 2026-03-24 Modified 2026-03-27 Official page ↗
Aliases
CVE-2026-33219
Ecosystem
Go
Packages
github.com/nats-io/nats-server/v2, github.com/nats-io/nats-server
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-770
Reviewed
2026-03-24

Affected packages

• Go github.com/nats-io/nats-server/v2: < 2.11.15 → fixed in 2.11.15 • Go github.com/nats-io/nats-server/v2: >= 2.12.0-RC.1, < 2.12.6 → fixed in 2.12.6 • Go github.com/nats-io/nats-server: all versions (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-33219 NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References