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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-07-08T20:17:39.187Z
- Modified: 2026-11-23T20:41:34.911Z
- Also known as: GHSA-p957-7v2w-g93g, GO-2026-7013
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nats-io nats-server: >= 2.14.0-RC.1, < 2.14.3; < 2.12.12
- github.com/nats-io/nats-server/v2 (Go): before 2.12.12; from 2.14.0-RC.1 before 2.14.3
- linuxfoundation nats-server: from 2.12.0 before 2.12.12; from 2.14.0 before 2.14.3

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/nats-io/nats-server/commit/73b3dd9a5ea0fa7bf08b702338676355b29b5fb4> (fix, patch, web)
- <https://github.com/nats-io/nats-server/commit/837536b98b3a9280b993282155ff2bdd3ca38c30> (fix, patch, web)
- <https://github.com/nats-io/nats-server/releases/tag/v2.12.12> (release-notes, web)
- <https://github.com/nats-io/nats-server/releases/tag/v2.14.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58208> (advisory)
- <https://github.com/nats-io/nats-server> (package)

## Sources

- CVE List: [CVE-2026-58208](https://www.cve.org/CVERecord?id=CVE-2026-58208), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-p957-7v2w-g93g](https://github.com/advisories/GHSA-p957-7v2w-g93g), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-7013](https://pkg.go.dev/vuln/GO-2026-7013), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-58208](https://nvd.nist.gov/vuln/detail/CVE-2026-58208), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-58208 · Whole record: https://cve.day/CVE-2026-58208.json · Rebuilt by cve.day 2026-11-25T22:59:27.444Z
