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
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/nats-io/nats-server/v2 | Affected
| Fixed in
|
| Gogithub.com/nats-io/nats-server/v2 | Affected
| Fixed in
|
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
- github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-58208 (opens in a new tab)
- github.com/nats-io/nats-server/commit/73b3dd9a5ea0fa7bf08b702338676355b29b5fb4 (opens in a new tab)
- github.com/nats-io/nats-server/commit/837536b98b3a9280b993282155ff2bdd3ca38c30 (opens in a new tab)
- github.com/nats-io/nats-server (opens in a new tab)
- github.com/nats-io/nats-server/releases/tag/v2.12.12 (opens in a new tab)
- github.com/nats-io/nats-server/releases/tag/v2.14.3 (opens in a new tab)