CVE-2026-27889Linuxfoundation Nats-server
High 7.5 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Nats-server We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 25, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Nats-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nats-io/nats-server |
all |
no fixed version | — |
| Go | github.com/nats-io/nats-server |
all |
no fixed version | — |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.2.0 < 2.11.14 |
2.11.14 |
go get github.com/nats-io/nats-server/v2@v2.11.14 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.12.0 < 2.12.5 |
2.12.5 |
go get github.com/nats-io/nats-server/v2@v2.12.5 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.2.0 < 2.11.14 |
2.11.14 |
go get github.com/nats-io/nats-server/v2@v2.11.14 |
| Go | github.com/nats-io/nats-server/v2 |
≥ 2.12.0 < 2.12.5 |
2.12.5 |
go get github.com/nats-io/nats-server/v2@v2.12.5 |
Per OSV / GitHub Advisories (GHSA-pq2q-rcw4-3hr6, GO-2026-4841). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | nats-server | ≥ 2.2.0 < 2.11.14 |
| linuxfoundation | nats-server | ≥ 2.12.0 < 2.12.5 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1135-1 · Mar 27, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- advisories.nats.io Mitigation Vendor Advisory
- github.com Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com