Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Go

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

Medium · CVSS 6.8EPSS 0.6% First seen November 20, 2026

One of 4 go:github.com/nats-io/nats-server/v2 vulnerabilities published together by GitHub Advisory: our article covers all of them.

GoWebCloud & containersIoTVulnerabilities

Research article

NATS Server MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers

CVECVE-2026-58208
Vendor and productgo:github.com/nats-io/nats-server/v2
PublishedNovember 21, 2026 17:16 UTC
Research cut-offNovember 21, 2026 17:05 UTC
Sources reviewed5: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-58208nats-ionats-serverCWE-2487.5 HIGH, scored by nvd@nist.gov2026-07-082026-10-25Analyzed

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

Affected VersionFixed Version
≥ 2.12.0, < 2.12.122.12.12 [1]
≥ 2.14.0, < 2.14.32.14.3 [1]

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

  1. Upgrade nats-server to version 2.12.12 or 2.14.3 to resolve the issue [3].
  2. Deployments that need WebSocket without MQTT-over-WebSocket have no known workaround [3].
  3. Monitor system logs for unexpected server crashes that may indicate exploitation.

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

  1. 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. Vulnerability identification, Affected products and versions, CVSS scores
  2. 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. Exploitation and threat intelligence status
  3. 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. Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Remediation
  4. Vendor advisory page (github.com). github.com. https://github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g. Accessed 2026-11-21. Vulnerability description, Remediation
  5. 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. Exploitation and threat intelligence status

Written with AI assistance from the 5 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

High · 7.5 CVSS 3.1 base score from NVD

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

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

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
github.com/nats-io/nats-server/v2 (Go)< 2.12.122.12.12
≥ 2.14.0-RC.1, < 2.14.32.14.3
nats-io nats-server>= 2.14.0-RC.1, < 2.14.3, < 2.12.12—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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

Source: GHSA-p957-7v2w-g93g / CVE-2026-58208, GitHub Advisory Database, licensed CC BY 4.0.

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