Vulnerability · Published Mar 25, 2026 · Assigned by GitHub_M

CVE-2026-27889NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead

High 7.5

In plain English

A high-severity integer overflow in nats-server from nats-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 51.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Starting in version 2.2.0 and prior to versions 2.11.14 and 2.12.5, a missing sanity check on a WebSockets frame could trigger a server panic in the nats-server. This happens before authentication, and so is exposed to anyone who can connect to the websockets port. Versions 2.11.14 and 2.12.5 contains a fix. A workaround is available. The vulnerability only affects deployments which use WebSockets and which expose the network port to untrusted end-points. If one is able to do so, a defense in depth of restricting either of these will mitigate the attack.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nats-serverno fix listedDEBIAN-CVE-2026-27889
Debian:13nats-serverno fix listedDEBIAN-CVE-2026-27889
Debian:14nats-server2.12.6-1DEBIAN-CVE-2026-27889
Gogithub.com/nats-io/nats-serverno fix listedGO-2026-4841
Gogithub.com/nats-io/nats-serverno fix listedGHSA-pq2q-rcw4-3hr6
Gogithub.com/nats-io/nats-server/v22.11.14GHSA-pq2q-rcw4-3hr6
Gogithub.com/nats-io/nats-server/v22.12.5GHSA-pq2q-rcw4-3hr6
Gogithub.com/nats-io/nats-server/v22.11.14, 2.12.5GO-2026-4841
Ubuntu:24.04:LTSnats-serverno fix listedUBUNTU-CVE-2026-27889
Ubuntu:25.10nats-serverno fix listedUBUNTU-CVE-2026-27889
Ubuntu:26.10nats-serverno fix listedUBUNTU-CVE-2026-27889

Affected products (as reported)

VendorProductVersions
nats-io nats-server >= 2.2.0, < 2.11.14>= 2.12.0, < 2.12.5

Weakness: CWE-190, CWE-1286 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References