NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled
Summary
| CVE | CVE-2026-58208 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-08 21:16:52 UTC |
| Updated | 2026-07-09 19:08:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.005930000 probability, percentile 0.442270000 (date 2026-07-11)
Problem Types: CWE-248 | CWE-248 CWE-248: Uncaught Exception
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Linuxfoundation | Nats-server | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Nats-io | Nats-server | affected >= 2.14.0-RC.1, < 2.14.3 | Not specified |
| CNA | Nats-io | Nats-server | affected < 2.12.12 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/nats-io/nats-server/commit/73b3dd9a5ea0fa7bf08b702338676355b2... | [email protected] | github.com | Patch |
| github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g | [email protected] | github.com | Mitigation, Vendor Advisory |
| github.com/nats-io/nats-server/releases/tag/v2.12.12 | [email protected] | github.com | Release Notes |
| github.com/nats-io/nats-server/commit/837536b98b3a9280b993282155ff2bdd3c... | [email protected] | github.com | Patch |
| github.com/nats-io/nats-server/releases/tag/v2.14.3 | [email protected] | github.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.