Skip to main content
← All vulnerabilities
CVE-2026-27889GHSA-PQ2Q-RCW4-3HR6BIT-NATS-2026-27889GO-2026-4841

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.14, 2.12.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • nats-io nats-server

    From 2.2.0 · fixed in 2.11.14; From 2.12.0 · fixed in 2.12.5

  • github.com/nats-io/nats-server/v2Go

    From 2.2.0 · fixed in 2.11.14

  • github.com/nats-io/nats-server/v2Go

    From 2.12.0 · fixed in 2.12.5

  • github.com/nats-io/nats-serverGo

    All versions

  • github.com/nats-io/nats-server/v2Go

    From 2.2.0 · fixed in 2.11.14; From 2.12.0 · fixed in 2.12.5

References 2

GitHub · nats-io/nats-server

advisories.nats.io