CVE-2026-33246: NATS Server Leafnode Connection Spoofing Vulnerability

Summary

24/03/2026
Yes i
Moderate
6.4

CVE-2026-33246: NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headers. Affects github.com/nats-io/nats-server/v2 across 2 version ranges.

< 2.11.15 >= 2.12.0-RC.1, < 2.12.6

Fixed in 2.11.15 or 2.12.6, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2026-33246 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

NATS.io is a high-performance open-source pub-sub distributed communication technology designed for cloud, on-premise, IoT, and edge computing. The nats-server facilitates hub/spoke topologies through 'leafnode' connections, allowing multiple nats-servers to communicate. NATS messages can include headers that provide essential information about requests.

Vulnerability Detail

The nats-server's 'Nats-Request-Info:' message header is intended to convey request information for account/user identification. However, leafnodes connecting to a nats-server are not fully trusted unless the system account is also bridged. This lack of trust allows for potential spoofing of the Nats-Request-Info header, leading to security risks for clients relying on this header for message validation. The vulnerability does not directly impact the nats-server itself but poses risks based on how clients might misuse the header.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.11.15 2.11.15
    go get github.com/nats-io/nats-server/v2@v2.11.15
  • >= 2.12.0-RC.1, < 2.12.6 2.12.6
    go get github.com/nats-io/nats-server/v2@v2.12.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There are no specific workarounds available for this vulnerability.

Conclusion

CVE-2026-33246 presents a significant risk for NATS server users, particularly those utilizing leafnode connections. It is crucial to update to the patched versions to mitigate the risk of spoofing and unauthorized access.

See every vulnerability recorded for github.com/nats-io/nats-server/v2 →

Share this vulnerability

FAQ

CVE-2026-33246 is a vulnerability in the NATS server that allows spoofing of Nats-Request-Info identity headers through leafnode connections.

Any version of NATS before v2.12.6 or v2.11.15 is affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to monitor and check if your application is affected by this vulnerability without needing to sign up.

The potential risks include unauthorized access and message spoofing, as clients may trust messages based on the compromised Nats-Request-Info header.

Yes, the CVSS score for this vulnerability is 6.4, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/nats-io/nats-server/v2.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.11.15 2.11.15
    go get github.com/nats-io/nats-server/v2@v2.11.15
  • >= 2.12.0-RC.1, < 2.12.6 2.12.6
    go get github.com/nats-io/nats-server/v2@v2.12.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback