LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A remote, unauthenticated user can crash a vulnerable NATS server by sending a malformed WebSocket frame. The primary business risk is messaging-service downtime, not disclosed data theft or modification. Only deployments using WebSockets and exposing that port to untrusted endpoints are affected.

Executive priority

Prioritize immediate remediation for externally reachable or broadly accessible WebSocket deployments because a pre-authentication crash can interrupt messaging-dependent services. Treat isolated deployments as scheduled high-priority work after confirming network controls. Availability-sensitive environments should also verify recovery behavior and investigate recent unexplained restarts.

Technical view

NATS Server lacks a sanity check when processing a WebSocket frame length in wsRead. The resulting integer-related condition can trigger a server panic before authentication. Affected releases are 2.2.0 through 2.11.13 and 2.12.0 through 2.12.4. The CVSS 3.1 score is 7.5, reflecting high availability impact.

Likely exposure

Exposure requires WebSockets to be enabled and their network port reachable by untrusted clients. Internet-facing ports are the clearest concern, but untrusted internal clients may also qualify. Deployments without WebSockets, or with access restricted to trusted endpoints, are not described as vulnerable.

Exploitation context

The flaw is remotely reachable, requires no authentication or user interaction, and has low stated attack complexity. The supplied record is not marked as CISA KEV, and the sources provided do not establish active exploitation. Treat exposed vulnerable services as readily attackable without assuming exploitation has occurred.

Researcher notes

The supplied evidence identifies a WebSocket frame-length sanity-check failure and integer-related weaknesses, CWE-1286 and CWE-190. It does not provide evidence of confidentiality or integrity impact, active exploitation, or code execution. A workaround exists, but its precise procedure is not included here; consult the NATS advisory.

Mitigation direction

  • Upgrade nats-server 2.11.x to version 2.11.14 or later.
  • Upgrade nats-server 2.12.x to version 2.12.5 or later.
  • Until upgraded, apply the vendor-documented workaround from the NATS advisory.
  • Disable WebSockets where unnecessary or restrict the WebSocket port to trusted endpoints.
  • Monitor affected servers for unexpected panics, restarts, and repeated untrusted WebSocket connections.

Validation and detection

  • Inventory nats-server versions and identify deployments with WebSockets enabled.
  • Confirm whether versions fall within 2.2.0–2.11.13 or 2.12.0–2.12.4.
  • Map which WebSocket ports are reachable from untrusted networks or clients.
  • After remediation, verify installations use 2.11.14, 2.12.5, or an applicable later fixed release.
  • Review logs and uptime telemetry for unexplained panics or restarts.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1286: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-190: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-27889 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6GitHub_M
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2026-27889Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPgithub.com/nats-io/nats-server: NATS-Server: Denial of Service via malformed WebSockets frame
other:Red Hat severity ratingcvssV3_1
  • 2026-03-25T20:01:58.261Z: Reported to Red Hat.
  • 2026-03-25T19:36:36.370Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
nats-ionats-server>= 2.2.0, < 2.11.14, >= 2.12.0, < 2.12.5Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1286 · source CWE mapping

Improper Validation of Syntactic Correctness of Input

Improper Validation of Syntactic Correctness of Input represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.