Skip to main content
VulnerabilityPublished

CVE-2026-58208: NATS Server · MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled

Affects github.com/nats-io/nats-server/v2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-58208· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium : upgrade to 2.12.12 when convenient.

Data as of 20 Nov 2026, 01:50 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.12.12, 2.14.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade github.com/nats-io/nats-server/v2 to 2.12.12; github.com/nats-io/nats-server/v2 to 2.14.3.

Affected software

ProductAffectedFixed in
Gogithub.com/nats-io/nats-server/v2Affected
  • <2.12.12
Fixed in
  • 2.12.12
Gogithub.com/nats-io/nats-server/v2Affected
  • >=2.14.0-RC.1 <2.14.3
Fixed in
  • 2.14.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade NATS Server to version 2.12.12 or 2.14.3 or later to apply the official fix. Deployments not using WebSocket are not affected. Deployments using both WebSocket and MQTT are not vulnerable. There is no known workaround for deployments requiring WebSocket without MQTT-over-WebSocket other than upgrading.

Description

NATS Server versions prior to 2.12.12 and between 2.14.0-RC.1 and before 2.14.3 have a vulnerability where the MQTT-over-WebSocket path can cause a crash on WebSocket-only JetStream servers if MQTT is not enabled. An unauthenticated client can trigger this by accessing the MQTT path, leading to a server process crash. This affects deployments that enable WebSocket but leave MQTT disabled. The issue is fixed in versions 2.12.12 and 2.14.3.

References

Community reviews

Loading reviews…