CVE-2026-29785
HIGH 7.5CVSS 3.1NATS Server panic via malicious compression on leafnode port
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.
- Published
- 25 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-409CWE-476
- Also known as
- BIT-nats-2026-29785GHSA-52jh-2xxh-pwh6GO-2026-4829
- Sources
- NVDJSONOSV GHSA-52jh-2xxh-pwh6JSONOSV GO-2026-4829JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
< 2.11.14 | 2.11.14 |
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
>= 2.12.0, < 2.12.5 | 2.12.5 |
| OSV | Go | github.com/nats-io/nats-server/v2 | < 2.11.14 | 2.11.14 |
| OSV | Go | github.com/nats-io/nats-server/v2 | >= 2.12.0-RC.1, < 2.12.5 | 2.12.5 |
| OSV | Go | github.com/nats-io/nats-server | all versions | |
| OSV | Go | github.com/nats-io/nats-server/v2 | < 2.11.14; >= 2.12.0-RC.1, < 2.12.5 | 2.11.14, 2.12.5 |
References
- https://advisories.nats.io/CVE/secnote-2026-04.txt · Mitigation, Vendor Advisory, WEB
- https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8 · Patch, WEB, FIX
- https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6 · Mitigation, Vendor Advisory, WEB, ADVISORY
- 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-29785
- https://bugzilla.redhat.com/show_bug.cgi?id=2451444
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29785.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-29785 · ADVISORY
- https://github.com/nats-io/nats-server · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 25 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Mar 2026)