CVE-2026-58208
Medium 6.8No known exploitationFix availableNATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled
Vendor advisory: GHSA-p957-7v2w-g93g
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 28% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-248
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| go | github.com/nats-io/nats-server/v2 | from 2.14.0-RC.1 before 2.14.3 | 2.14.3 | GitHub Advisory Database |
| go | github.com/nats-io/nats-server/v2 | all versions before 2.12.12 | 2.12.12 | GitHub Advisory Database |
| nats-io | nats-server | < 2.12.12 | Not documented | CVE Program |
| nats-io | nats-server | >= 2.14.0-RC.1, < 2.14.3 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-p957-7v2w-g93g (opens in a new tab)github-advisory
- https://github.com/nats-io/nats-server/commit/73b3dd9a5ea0fa7bf08b702338676355b29b5fb4 (opens in a new tab)x_refsource_misc
- https://github.com/nats-io/nats-server/commit/837536b98b3a9280b993282155ff2bdd3ca38c30 (opens in a new tab)x_refsource_misc
- https://github.com/nats-io/nats-server/releases/tag/v2.12.12 (opens in a new tab)x_refsource_misc
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3 (opens in a new tab)x_refsource_misc
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p957-7v2w-g93g (opens in a new tab)x_refsource_confirm