{"id":"CVE-2026-29785","title":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system","summary":"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 …","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-476","CWE-409"],"vendor":"linuxfoundation","product":"nats-server","affected":["nats-server < 2.11.14","nats-server >= 2.12.0, < 2.12.5"],"patched":["nats-server 2.12.5"],"published":"2026-03-25","updated":"2026-09-09","sourceUpdated":"2026-09-09T13:19:11.863","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-29785","references":[{"url":"https://advisories.nats.io/CVE/secnote-2026-04.txt","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6","label":"security-advisories@github.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:21769","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/errata/RHSA-2026:22347","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/errata/RHSA-2026:23345","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/security/cve/CVE-2026-29785","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451444","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29785.json","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-29785"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29785"},{"url":"https://github.com/nats-io/nats-server"}],"tags":["nvd","cve.org","csaf","vex","red-hat","osv","go"],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-28T01:33:48.548539Z"},"epss":0.00658,"epssPercentile":0.49719,"ingestedAt":"2026-07-20T12:38:40.646Z","aliases":["GHSA-52jh-2xxh-pwh6","BIT-nats-2026-29785","GO-2026-4829"],"ecosystem":"go","slug":"CVE-2026-29785","body":"## Overview\n\nNATS-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.\n\n## Affected\n\n- `nats-server < 2.11.14`\n- `nats-server >= 2.12.0, < 2.12.5`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `nats-server 2.12.5`\n\n## Vendor advisories\n\n- **RHSA-2026:22347** · Red Hat · fixed in: Multicluster Global Hub 1.4.5 · released 2026-06-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:22347)\n- **RHSA-2026:23345** · Red Hat · fixed in: Multicluster Global Hub 1.6.5 · released 2026-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:23345)\n- **RHSA-2026:21769** · Red Hat · fixed in: Red Hat multicluster global hub 1.5.3 · released 2026-05-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:21769)\n\n## Package advisory (CVE-2026-29785)\n\nAffected packages:\n\n- `github.com/nats-io/nats-server/v2 < 2.11.14`\n- `github.com/nats-io/nats-server/v2 >= 2.12.0-RC.1, < 2.12.5`\n- `github.com/nats-io/nats-server`\n\nPatched in:\n\n- `github.com/nats-io/nats-server/v2 2.11.14`\n- `github.com/nats-io/nats-server/v2 2.12.5`\n\nSource: https://osv.dev/vulnerability/GHSA-52jh-2xxh-pwh6","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}