NATS: 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-27889
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:59 UTC · Revision 1
Source evidence
NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead
core-osv · Original sourcePublished 25 Mar 2026, 19:36 UTC
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.
osv:CVE-2026-27889
Complete source record
{
"id": "fd156d32ea8daa6d8a5dbbb9b6a2eca0066a165397f8ee1cb90cef46f0797f75",
"url": "https://osv.dev/vulnerability/CVE-2026-27889",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead",
"summary": "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.",
"evidence": "osv:CVE-2026-27889",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-27889",
"aliases": [
"BIT-nats-2026-27889",
"CVE-2026-27889",
"GHSA-pq2q-rcw4-3hr6",
"GO-2026-4841"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nats-io/nats-server",
"type": "GIT",
"events": [
{
"introduced": "0e3c7230e4b7c85795592f74a62351f6fe22fcbd"
},
{
"fixed": "797d2514fdb29ccb2b654f7fefbcb166ccb66cf1"
},
{
"introduced": "fc6ec648d806652d282d2f0edb6cb9f22c895572"
},
{
"fixed": "0f6c831ec1df25bc3dc81d25faae0ed0bac15a96"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.11.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.12.0"
},
{
"fixed": "2.12.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.12.4",
"v2.11.12",
"v2.12.5-RC.2",
"v2.12.5-RC.1",
"v2.11.12-RC.7",
"v2.12.4-RC.6",
"v2.11.12-RC.6",
"v2.12.4-RC.5",
"v2.11.12-RC.5",
"v2.12.4-RC.4",
"v2.12.2",
"v2.11.12-RC.4",
"v2.12.4-RC.3",
"v2.12.4-RC.2",
"v2.11.12-RC.3",
"v2.12.4-RC.1",
"v2.11.12-RC.2",
"v2.12.3",
"v2.11.12-RC.1",
"v2.11.11",
"v2.12.3-RC.5",
"v2.12.3-RC.4",
"v2.12.3-RC.3",
"v2.12.3-RC.2",
"v2.12.3-RC.1",
"v2.12.2-RC.4",
"v2.11.11-RC.4",
"v2.12.2-RC.3",
"v2.11.11-RC.3",
"v2.12.1",
"v2.12.2-RC.2",
"v2.11.11-RC.2",
"v2.11.11-RC.1",
"v2.12.2-RC.1",
"v2.11.10",
"v2.12.0",
"v2.12.1-RC.5",
"v2.12.1-RC.4",
"v2.12.1-RC.3",
"v2.12.1-RC.2",
"v2.12.1-RC.1",
"v2.11.10-RC.1",
"v2.11.9",
"v2.11.9-RC.3",
"v2.11.9-RC.2",
"v2.11.9-RC.1",
"v2.11.8",
"v2.11.8-RC.1",
"v2.11.7",
"v2.11.7-RC.3",
"v2.11.7-RC.2",
"v2.11.7-RC.1",
"v2.11.6",
"v2.11.6-RC.1",
"v2.11.5",
"v2.11.5-RC.4",
"v2.11.5-RC.3",
"v2.11.5-RC.2",
"v2.11.5-RC.1",
"v2.11.4",
"v2.11.4-RC.3",
"v2.11.4-RC.2",
"v2.11.4-RC.1",
"v2.11.3",
"v2.11.3-RC.2",
"v2.11.3-RC.1",
"v2.11.2",
"v2.11.2-RC.3",
"v2.11.2-RC.2",
"v2.11.2-RC.1",
"v2.11.0",
"v2.11.0-RC.5",
"v2.11.0-RC.4",
"v2.11.0-RC.3",
"v2.11.0-RC.2",
"v2.11.0-RC.1",
"v2.10.3",
"v2.10.2",
"v2.10.1",
"v2.10.0",
"v2.9.22",
"v2.9.21",
"v2.9.20",
"v2.9.19",
"v2.9.18",
"v2.9.17",
"v2.9.16",
"v2.9.15",
"v2.9.14",
"v2.9.12",
"v2.9.11",
"v2.9.10",
"v2.9.9",
"v2.9.8",
"v2.9.7",
"v2.9.6",
"v2.9.5",
"v2.9.4",
"v2.9.3",
"v2.9.2",
"v2.9.1",
"v2.9.0",
"v2.8.4",
"v2.8.3",
"v2.8.2",
"v2.8.1",
"v2.8.0",
"v2.7.4",
"v2.7.3",
"v2.7.2",
"v2.7.1",
"v2.7.0",
"v2.7.0-rc2",
"v2.7.0-rc1",
"v2.6.6",
"v2.6.5",
"v2.6.4",
"v2.6.3",
"v2.6.2",
"v2.6.1",
"v2.6.0",
"v2.5.0",
"v2.4.0",
"v2.3.4",
"v2.3.3",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.6",
"v2.2.5",
"v2.2.4",
"v2.2.3",
"v2.2.2",
"v2.2.1",
"v2.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27889.json"
}
}
],
"modified": "2026-10-28T02:30:29.318777635Z",
"provider": "osv",
"references": [
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27889.json",
"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://advisories.nats.io/CVE/secnote-2026-03.txt",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27889.json",
"https://github.com/nats-io/nats-server/security/advisories/GHSA-pq2q-rcw4-3hr6",
"https://nvd.nist.gov/vuln/detail/CVE-2026-27889",
"https://bugzilla.redhat.com/show_bug.cgi?id=2451447"
],
"provider_metadata": {
"cwe_ids": [
"CWE-190"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27889.json"
}
},
"related_cves": [
{
"value": "CVE-2026-27889",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496109,
"published_at": "2026-03-25T19:36:36.37+00:00"
}