# CVE-2026-27889: NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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.98%, higher than 61% of CVEs (2026-11-30)
- Published: 2026-03-25T17:07:51.000Z
- Modified: 2026-09-10T03:50:40.301Z
- Also known as: GHSA-pq2q-rcw4-3hr6, BIT-NATS-2026-27889, GO-2026-4841
- Related: CGA-x45q-fj2h-xjrc
- Weaknesses: CWE-190, CWE-1286
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nats-io nats-server: >= 2.2.0, < 2.11.14; >= 2.12.0, < 2.12.5
- multicluster-globalhub/multicluster-globalhub-grafana-rhel9: no versions given (not affected: from 1779579439 before *; from 1780167118 before *; from 1778867753 before *)
- openshift4/oc-mirror-plugin-rhel9: no versions given
- github.com/nats-io/nats-server/v2 (Go): from 2.2.0 before 2.11.14; from 2.12.0 before 2.12.5
- github.com/nats-io/nats-server (Go): all versions
- linuxfoundation nats-server: from 2.2.0 before 2.11.14; from 2.12.0 before 2.12.5
- nats (Bitnami): from 2.2.0 before 2.11.14; from 2.12.0 before 2.12.5

## Every score

- GitHub_M: 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`
- redhat-SADP: 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`
- GitHub: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/nats-io/nats-server/security/advisories/GHSA-pq2q-rcw4-3hr6> (advisory, mitigation, vendor-advisory, web)
- <https://advisories.nats.io/CVE/secnote-2026-03.txt> (advisory, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-27889> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2451447> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27889.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:22347> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:23345> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:21769> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27889> (advisory, web)
- <https://github.com/nats-io/nats-server> (package)

## Sources

- CVE List: [CVE-2026-27889](https://www.cve.org/CVERecord?id=CVE-2026-27889), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-pq2q-rcw4-3hr6](https://github.com/advisories/GHSA-pq2q-rcw4-3hr6), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4841](https://pkg.go.dev/vuln/GO-2026-4841), CC-BY-4.0, modified 2026-03-27
- NVD: [CVE-2026-27889](https://nvd.nist.gov/vuln/detail/CVE-2026-27889), Public domain, modified 2026-09-09
- Bitnami Vulnerability Database: [BIT-NATS-2026-27889](https://osv.dev/vulnerability/BIT-NATS-2026-27889), Apache-2.0, modified 2026-09-08

---

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