CVE-2026-58208 — NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled
One of 4 go:github.com/nats-io/nats-server/v2 vulnerabilities published together by GitHub Advisory: our article covers all of them.
GoWebCloud & containersIoTVulnerabilitiesResearch article
NATS Server MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers
| CVE | CVE-2026-58208 |
|---|---|
| Vendor and product | go:github.com/nats-io/nats-server/v2 |
| Published | November 21, 2026 17:16 UTC |
| Research cut-off | November 21, 2026 17:05 UTC |
| Sources reviewed | 5: NVD record (last modified 2026-10-25); CISA KEV catalog; GitHub advisory (2026-11-20); vendor advisory page (github.com); FIRST EPSS (2026-11-20) |
Executive summary
CVE-2026-58208 affects the nats-server application, enabling unauthenticated clients to trigger a server crash by accessing the MQTT-over-WebSocket path when MQTT is not configured [3]. The vulnerability has a CVSS 3.1 base score of 7.5, HIGH severity, scored by NVD [1]. Affected versions include nats-server ≥ 2.12.0, < 2.12.12 and ≥ 2.14.0, < 2.14.3 [1]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to a fixed version.
Key points
- CVE-2026-58208 allows unauthenticated clients to crash the server by accessing the MQTT-over-WebSocket path when MQTT is not configured [3].
- The vulnerability has a CVSS 3.1 base score of 7.5, HIGH severity, scored by NVD [1].
- Affected versions include nats-server ≥ 2.12.0, < 2.12.12 and ≥ 2.14.0, < 2.14.3 [1].
- The reviewed sources do not report exploitation [2].
- The vulnerability is fixed in versions v2.12.12 and v2.14.3 [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-58208 | nats-io | nats-server | CWE-248 | 7.5 HIGH, scored by nvd@nist.gov | 2026-07-08 | 2026-10-25 | Analyzed |
Vulnerability description
An unauthenticated client can cause the server to crash by accessing the MQTT-over-WebSocket path in a configuration where MQTT is not enabled [3]. This issue affects systems where WebSocket is active but MQTT is disabled, resulting in an uninitialized MQTT state [3].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N) with no user privileges (PR:N), no user interaction (UI:N), and leads to a high impact on availability (A:H) [1].
Impact analysis
The CVSS vector shows no impact on confidentiality (C:N) or integrity (I:N), but a high impact on availability (A:H) [1]. The advisory notes that the issue can cause the server to crash [3].
Affected products and versions
Exploitation and threat intelligence status
CVE-2026-58208 is not listed in the CISA KEV catalog as of 2026-11-21 [2]. The EPSS score for this vulnerability is 0.0034 (0.34%), with a percentile of 0.2775 [5].
Detection and exposure assessment
To assess if a system is at risk, check if the installed version of nats-server falls within the affected ranges: ≥ 2.12.0, < 2.12.12 or ≥ 2.14.0, < 2.14.3 [1].
Remediation
The vulnerability is resolved in versions v2.12.12 and v2.14.3 [3]. The vendor recommends upgrading to a fixed release to address the issue [4].
Remediation checklist
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle or scenarios.
- The sources do not provide indicators of compromise.
References
- CVE-2026-58208 record. NIST National Vulnerability Database (NVD), 2026-10-25. https://nvd.nist.gov/vuln/detail/CVE-2026-58208. Accessed 2026-11-21.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-21. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-21.
- GHSA-p957-7v2w-g93g / CVE-2026-58208 — NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled. GitHub Security Advisory Database, 2026-11-20. https://github.com/advisories/GHSA-p957-7v2w-g93g. Accessed 2026-11-21.
- Vendor advisory page (github.com). github.com. https://github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g. Accessed 2026-11-21.
- EPSS score for CVE-2026-58208. FIRST, 2026-11-20. https://api.first.org/data/v1/epss?cve=CVE-2026-58208. Accessed 2026-11-21.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-248: Uncaught Exception
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 (Go) | < 2.12.12 | 2.12.12 |
| ≥ 2.14.0-RC.1, < 2.14.3 | 2.14.3 | |
| nats-io nats-server | >= 2.14.0-RC.1, < 2.14.3, < 2.12.12 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/nats-io/nats-server/commit/73b3dd9a5ea0fa7bf08b702338676355b…
- github.com/nats-io/nats-server/commit/837536b98b3a9280b993282155ff2bdd3…
- github.com/nats-io/nats-server/releases/tag/v2.12.12
- github.com/nats-io/nats-server/releases/tag/v2.14.3
Other references
Details
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.
The NATS Server can accept client connections over WebSocket and can also support MQTT over WebSocket when MQTT is configured.
Problem Description
A WebSocket listener could route requests for the MQTT-over-WebSocket path into MQTT handling even when MQTT was not configured.
On affected deployments, an unauthenticated client with access to the WebSocket listener could reach uninitialized MQTT state and crash the server process.
This affects deployments that enable WebSocket while leaving MQTT disabled. Deployments where MQTT is intentionally configured initialize the MQTT state and are not affected in the same way.
Affected Versions
Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.
Workarounds
Deployments not using WebSocket are not affected. Deployments using both WebSockets and MQTT are not affected. No known workaround for deployments that need WebSocket without MQTT-over-WebSocket. Upgrade to a fixed release.
References
- GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g>
- Credit: Vasco Franco, Trail of Bits
Affected
- go:github.com/nats-io/nats-server/v2
Frequently asked questions
What is CVE-2026-58208?
CVE-2026-58208 affects the nats-server application, enabling unauthenticated clients to trigger a server crash by accessing the MQTT-over-WebSocket path when MQTT is not configured. The vulnerability has a CVSS 3.1 base score of 7.5, HIGH severity, scored by NVD. Affected versions include nats-server ≥ 2.12.0, < 2.12.12 and ≥ 2.14.0, < 2.14.3. The reviewed sources do not report exploitation. Weakness type: Uncaught Exception (CWE-248).
How severe is CVE-2026-58208?
CVE-2026-58208 has a CVSS 3.1 base score of 7.5 (high), from NVD. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-58208 being exploited?
Not as far as is known: CVE-2026-58208 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-58208?
github.com/nats-io/nats-server/v2 (Go) < 2.12.12 (fixed in 2.12.12); github.com/nats-io/nats-server/v2 (Go) ≥ 2.14.0-RC.1, < 2.14.3 (fixed in 2.14.3); nats-io nats-server >= 2.14.0-RC.1, < 2.14.3, < 2.12.12.
How do I fix CVE-2026-58208?
Upgrade nats-server to version 2.12.12 or 2.14.3 to resolve the issue. Deployments that need WebSocket without MQTT-over-WebSocket have no known workaround. Monitor system logs for unexpected server crashes that may indicate exploitation.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-r72h-j7qq-v6qg / CVE-2026-58210 — NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets
- GHSA-qrcv-3558-gj4f / CVE-2026-58213 — NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection
- LLMKube Model.spec.source path traversal allows arbitrary file read (CVE-2026-68903)
- Cocos AI attested TLS: one-time attestation at handshake enables TOCTOU after connection setup (CVE-2026-119345)
- GHSA-f9h7-4mmq-vgcq / CVE-2026-58262 — Klever Go counts bitmap padding bits toward BLS quorum, allowing blocks with insufficient signatures