CVE-2026-58208

GHSA-p957-7v2w-g93g · published 8 Jul 2026 · updated 20 Nov 2026

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

6.8MediumCVSS 6.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/nats-io/nats-server/v2 2.12.12 and github.com/nats-io/nats-server/v2 2.14.3.

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, a WebSocket listener could route requests for the MQTT-over-WebSocket path into MQTT handling even when MQTT was not configured, allowing an unauthenticated client with access to the WebSocket listener to reach uninitialized MQTT state and crash the server process. This issue is fixed in versions 2.14.3 and 2.12.12.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nats-io<2.12.12, >=2.14.0-RC.1 <2.14.3
go: github.com/nats-io/nats-server/v2<2.12.12, >=2.14.0-RC.1 <2.14.32.12.12, 2.14.3

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in github.com/nats-io/nats-server/v2 (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58208 severity on Zeptric[![CVE-2026-58208](https://zeptric.io/badge/cve/CVE-2026-58208.svg)](https://zeptric.io/cve/CVE-2026-58208)