Skip to main content
← All vulnerabilities
CVE-2026-29785GO-2026-4829BIT-NATS-2026-29785GHSA-52JH-2XXH-PWH6

NATS Server panic via malicious compression on leafnode port

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.11.14, 2.12.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • nats-io nats-server

    fixed in 2.11.14; From 2.12.0-RC.1 · fixed in 2.12.5

  • github.com/nats-io/nats-serverGo

    All versions

  • github.com/nats-io/nats-server/v2Go

    fixed in 2.11.14; From 2.12.0-RC.1 · fixed in 2.12.5

  • github.com/nats-io/nats-server/v2Go

    fixed in 2.11.14

  • github.com/nats-io/nats-server/v2Go

    From 2.12.0-RC.1 · fixed in 2.12.5

References 3

GitHub · nats-io/nats-server

advisories.nats.io