CVE-2026-27889
HIGH 7.5CVSS 3.1NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Starting in version 2.2.0 and prior to versions 2.11.14 and 2.12.5, a missing sanity check on a WebSockets frame could trigger a server panic in the nats-server. This happens before authentication, and so is exposed to anyone who can connect to the websockets port. Versions 2.11.14 and 2.12.5 contains a fix. A workaround is available. The vulnerability only affects deployments which use WebSockets and which expose the network port to untrusted end-points. If one is able to do so, a defense in depth of restricting either of these will mitigate the attack.
- Published
- 25 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1286CWE-190
- Also known as
- BIT-nats-2026-27889GHSA-pq2q-rcw4-3hr6GO-2026-4841
- Sources
- NVDJSONOSV GHSA-pq2q-rcw4-3hr6JSONOSV GO-2026-4841JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.11.14 | 2.11.14 |
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
>= 2.12.0, < 2.12.5 | 2.12.5 |
| OSV | Go | github.com/nats-io/nats-server/v2 | >= 2.2.0, < 2.11.14 | 2.11.14 |
| OSV | Go | github.com/nats-io/nats-server/v2 | >= 2.12.0, < 2.12.5 | 2.12.5 |
| OSV | Go | github.com/nats-io/nats-server | all versions | |
| OSV | Go | github.com/nats-io/nats-server/v2 | >= 2.2.0, < 2.11.14; >= 2.12.0, < 2.12.5 | 2.11.14, 2.12.5 |
References
- https://advisories.nats.io/CVE/secnote-2026-03.txt · Mitigation, Vendor Advisory, WEB
- https://github.com/nats-io/nats-server/security/advisories/GHSA-pq2q-rcw4-3hr6 · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2026:21769
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/security/cve/CVE-2026-27889
- https://bugzilla.redhat.com/show_bug.cgi?id=2451447
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27889.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-27889 · ADVISORY
- https://github.com/nats-io/nats-server · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 25 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Mar 2026)