CVE-2026-27889

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

State
Published
Severity
7.5 High
Published
Mar 25, 2026
Updated
Sep 9, 2026
Reserved
Feb 24, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat-SADP

Weaknesses

  • CWE-190 Integer Overflow or Wraparound
  • CWE-1286 Improper Validation of Syntactic Correctness of Input

Affected Products

ProductVersions
nats-servernats-io
  • >= 2.2.0, < 2.11.14Affected
  • >= 2.12.0, < 2.12.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.