Prior to 2.12.8 and 2.11.17, an unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake by sen…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.51%
- Published
- Jul 8, 2026
- In the news
- 1 story
What to do
A serious security flaw in Linuxfoundation Nats-server that can be attacked over the network without logging in. Exploit code is public, so patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Nats-io Nats-server
- < 2.11.17; >= 2.12.0-preview.1, < 2.12.8
Description
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake by sending repeated leafnode INFO protocol messages before authentication and account setup completed. This issue is fixed in versions 2.12.8 and 2.11.17.
Affected products
Get alerts for these →Timeline 5
Latest change: googlesky/CVE-2026-58250: NATS Server leafnode pre-auth DoS (CVE-2026-58250, HIGH): a second INFO before CONNECT nil-derefs c.acc/c.leaf.remote and panics the server. Differential from exact upstream guard: vuln crashes, fixe… (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- Exploit codegooglesky/CVE-2026-58250: NATS Server leafnode pre-auth DoS (CVE-2026-58250, HIGH): a second INFO before CONNECT nil-derefs c.acc/c.leaf.remote and panics the server. Differential from exact upstream guard: vuln crashes, fixe…GitHub (unverified) · 19:15 UTC
- DetectionTenable Container Security plugin 489495: SCA: security update for github.com/nats-io/nats-server/v2 (GHSA-3g5q-cfh2-cq67)Tenable
- DetectionTenable Cloud Security plugin 489495: SCA: security update for github.com/nats-io/nats-server/v2 (GHSA-3g5q-cfh2-cq67)Tenable
Tue, Dec 1, 2026
- Researchgithub.com/nats-io/nats-server/v2: NATS Server: Denial of service via repeated pre-authentication leafnode INFO messagesGitHub Advisories · 21:20 UTC
Wed, Jul 8, 2026
- CVECVE-2026-58250 published (CVSS 7.5)CVE Program · 20:16 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
References 5
- github.com Patch /nats-io/nats-server/commit/8dcb26eaea78fdcbe96dbee5986d6019fd5cb94a
- github.com Patch /nats-io/nats-server/commit/fc5fe39177533e9dbdd651d2458285bfae1dde27
- github.com Vendor Advisory /nats-io/nats-server/security/advisories/GHSA-3g5q-cfh2-cq67
- github.com /nats-io/nats-server/releases/tag/v2.11.17
- github.com /nats-io/nats-server/releases/tag/v2.12.8