Live threats

All CVEs / Linuxfoundation

CVE-2026-29785Linuxfoundation Nats-server

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 25, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476, CWE-409
SSVC (CISA)
Exploitation: none · 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. Prior to versions 2.11.14 and 2.12.5, if the nats-server has the "leafnode" configuration enabled (not default), then anyone who can connect can crash the nats-server by triggering a panic. This happens pre-authentication and requires that compression be enabled (which it is, by default, when leafnodes are used). Versions 2.11.14 and 2.12.5 contain a fix. As a workaround, disable compression on the leafnode port.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nats-server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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.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-RC.1 < 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.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-RC.1 < 2.12.5 2.12.5 go get github.com/nats-io/nats-server/v2@v2.12.5

Per OSV / GitHub Advisories (GHSA-52jh-2xxh-pwh6, GO-2026-4829). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationnats-server< 2.11.14
linuxfoundationnats-server≥ 2.12.0 < 2.12.5

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.