7.5High

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

nats-io nats-server; Red Hat Multicluster Global Hub 1.4.5; Red Hat Multicluster Global Hub 1.6.5; Red Hat Red Hat multicluster global hub 1.5.3 Published: (7 months ago)

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.

Weakness (CWE): CWE-190CWE-1286

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
linuxfoundation nats-server 2.2.0 – < 2.11.14
multicluster globalhub 1.4 —
multicluster globalhub 1.5 —
multicluster globalhub 1.6 —
nats-io nats-server >= 2.2.0, < 2.11.14, >= 2.12.0, < 2.12.5
Red Hat Multicluster Global Hub 1.4.5 all versions
Red Hat Multicluster Global Hub 1.6.5 all versions
Red Hat Red Hat multicluster global hub 1.5.3 all versions
Red Hat Red Hat OpenShift Container Platform 4 —

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* ≥ 2.2.0 < 2.11.14
  • cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* ≥ 2.12.0 < 2.12.5