NATS is vulnerable to pre-auth DoS through WebSockets client service
Medium5.3CVE-2026-33219 · Published Mar 24, 2026 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server Go | all versions | No fix yet |
Details and references
### 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](https://advisories.nats.io/CVE/secnote-2026-02.txt) (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.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-770
- Also known as
- BIT-nats-2026-33219, CVE-2026-33219, GO-2026-4831
More nats-server advisories
All| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 24 | NATS Server panic via malicious compression on leafnode port CVE-2026-29785High7.5no fix yet | High7.5 | No fix yet |
| Mar 24 | NATS has MQTT plaintext password disclosure CVE-2026-33216High8.6no fix yet | High8.6 | No fix yet |
| Mar 24 | NATS allows MQTT clients to bypass ACL checks CVE-2026-33217High7.1no fix yet | High7.1 | No fix yet |
| Mar 24 | NATS has pre-auth server panic via leafnode handling CVE-2026-33218High7.5no fix yet | High7.5 | No fix yet |
| Mar 24 | NATS JetStream has an authorization bypass through its Management API CVE-2026-33222Medium4.9no fix yet | Medium4.9 | No fix yet |
| Mar 24 | NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity Spoofing CVE-2026-33223Medium6.4no fix yet | Medium6.4 | No fix yet |