CVE-2026-29785
Description
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.
How to fix
- linuxfoundation nats-server2.11.14, 2.12.5 or later
- github.com/nats-io/nats-server/v22.11.14, 2.12.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linuxfoundation nats-server | v < 2.11.14, 2.12.0 ≤ v < 2.12.5 | 2.11.14, 2.12.5 |
| github.com/nats-io/nats-server/v2Go | v < 2.11.14, 2.12.0-RC.1 ≤ v < 2.12.5 | 2.11.14, 2.12.5 |
| github.com/nats-io/nats-serverGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.