cvelo
P2 · HighCVSS 8.6EPSS 0.5%

NATS Server: Denial of service via repeated pre-authentication leafnode INFO messages

  • CVE-2026-58250
  • GHSA-3g5q-cfh2-cq67
  • BIT-nats-2026-58250
  • EUVD-2026-42380

Description

### Background NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing. The NATS Server supports leafnode connections between servers. ### Problem Description An unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake. The issue occurs after repeated leafnode `INFO` protocol messages before a leafnode connection had completed authentication and account setup. Certain state expected later in the handshake could be nil and then later dereferenced, causing a process panic. ### Affected Versions Versions v2.12.7, v2.11.16 and below are vulnerable. The issue is fixed in v2.12.8 and v2.11.17. ### Workarounds Disabling leafnode compression can mitigate the issue until fixed versions are deployed. ### Resources * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-3g5q-cfh2-cq67> * Credit: Koda Reef

Text from the GitHub Advisory record.

Affected

  • nats-io nats-server

    • before 2.11.17
    • from 2.12.0-preview.1 to before 2.12.8
  • github.com/nats-io/nats-server/v2Go

    • all versions, fixed in 2.11.17
    • from 2.12.0-RC.1, fixed in 2.12.8

Product versions from the ENISA EUVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.