Advisory

GHSA-vprv-35vv-q339

Also known as: BIT-nats-2026-33218, CVE-2026-33218, GO-2026-4837

Summary

NATS has pre-auth server panic via leafnode handling

Details

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 allows hub/spoke topologies using "leafnode" connections by other nats-servers.

Problem Description

A client which can connect to the leafnode port can crash the nats-server with a certain malformed message pre-authentication.

Affected Versions

Any version before v2.12.6 or v2.11.15

Workarounds

  1. Disable leafnode support if not needed.
  2. Restrict network connections to your leafnode port, if plausible without compromising the service offered.

References

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-24 21:45 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

github.com/nats-io/nats-server/v2

Go · All systems

Affected

  • introduced 0, fixed 2.11.15 (semver)

Fixed versions

2.11.15

Fix

github.com/nats-io/nats-server/v2

Go · All systems

Affected

  • introduced 2.12.0-RC.1, fixed 2.12.6 (semver)

Fixed versions

2.12.6

Fix

github.com/nats-io/nats-server

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences