CVE-2026-58250: NATS Server · Denial of service via repeated pre-authentication leafnode INFO messages
Affects github.com/nats-io/nats-server/v2Source GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.11.17 soon.
Data as of 1 Dec 2026, 23:44 UTC
- Patch
- Available – fixed in 2.11.17, 2.12.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade github.com/nats-io/nats-server/v2 to 2.11.17; github.com/nats-io/nats-server/v2 to 2.12.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/nats-io/nats-server/v2 | Affected
| Fixed in
|
| Gogithub.com/nats-io/nats-server/v2 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading to NATS Server versions 2.11.17 or 2.12.8 or later. Until patched, disable leafnode compression to mitigate the vulnerability.
Description
NATS Server versions up to 2.11.16 and from 2.12.0-RC.1 up to 2.12.7 are vulnerable to a denial of service condition triggered by repeated pre-authentication leafnode INFO messages when compression is enabled. An unauthenticated peer can cause the server to crash during the leafnode handshake due to a nil pointer dereference. The issue is fixed in versions 2.11.17 and 2.12.8. Disabling leafnode compression can mitigate the issue until patched versions are deployed.
References
- github.com/nats-io/nats-server/security/advisories/GHSA-3g5q-cfh2-cq67 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-58250 (opens in a new tab)
- github.com/nats-io/nats-server/commit/8dcb26eaea78fdcbe96dbee5986d6019fd5cb94a (opens in a new tab)
- github.com/nats-io/nats-server/commit/fc5fe39177533e9dbdd651d2458285bfae1dde27 (opens in a new tab)
- github.com/nats-io/nats-server (opens in a new tab)
- github.com/nats-io/nats-server/releases/tag/v2.11.17 (opens in a new tab)
- github.com/nats-io/nats-server/releases/tag/v2.12.8 (opens in a new tab)