NATS Server: Incomplete fix for CVE-2026-33249: Leaf node connections bypass Nats-Trace-Dest permission check
cve-program · CVE-2026-58254
PublishedNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.8, message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections, allowing a leafnode operator to send trace events to subjects that would not otherwise be permitted and to use trace-only behavior to prevent normal delivery or storage of affected messages. This issue is fixed in versions 2.14.3 and 2.12.8.
Read the publisher's advisoryeuvd · EUVD-2026-42386
PublishedNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.8, message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections, allowing a leafnode operator to send trace events to subjects that would not otherwise be permitted and to use trace-only behavior to prevent normal delivery or storage of affected messages. This issue is fixed in versions 2.14.3 and 2.12.8.
Read the publisher's advisorynvd · CVE-2026-58254
PublishedNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.8, message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections, allowing a leafnode operator to send trace events to subjects that would not otherwise be permitted and to use trace-only behavior to prevent normal delivery or storage of affected messages. This issue is fixed in versions 2.14.3 and 2.12.8.
Read the publisher's advisoryosv · GHSA-p3j5-5hrq-p75h
Published### 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 and message tracing through NATS headers. ### Problem Description Message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections. A leafnode operator could cause trace events to be sent to subjects that would not otherwise be permitted and could use trace-only behavior to prevent normal delivery or storage of affected messages. Trace events can include routing, subscription, account, service import and JetStream metadata. The payload of the original application message is not chosen through the trace event itself. ### Affected Versions Versions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8. ### Workarounds Where possible, avoid granting publish paths from less-trusted leaf nodes into subjects for which trace-only behavior would affect delivery guarantees. No other known workarounds are available aside from upgrading to a fixed release. ### References * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h> * Credit: Koda Reef
Read the publisher's advisoryosv · GO-2026-7025
Publishednats-server Leaf node connections bypass Nats-Trace-Dest permission check in github.com/nats-io/nats-server/v2
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-58254 · CVE overview and exploitation status
cve-program · CVE-2026-58254
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3
euvd · EUVD-2026-42386
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3
nvd · CVE-2026-58254
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
osv · GHSA-p3j5-5hrq-p75h
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
- https://nvd.nist.gov/vuln/detail/CVE-2026-58254
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd
- https://github.com/nats-io/nats-server
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3
osv · GO-2026-7025
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
- https://nvd.nist.gov/vuln/detail/CVE-2026-58254
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3
Related changes
Linked by CVE identifier- nats-server Leaf node connections bypass Nats-Trace-Dest permission check in github.com/nats-io/nats-server/v2 · Newly collected advisory · 23 Nov 2026
- NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.8, message trace destination checks were applied to ordinary client connections but not consistently to messages arri… · Advisory content revised · 23 Nov 2026
- nats-server Leaf node connections bypass Nats-Trace-Dest permission check · Advisory content revised · 23 Nov 2026
- nats-server Leaf node connections bypass Nats-Trace-Dest permission check · Newly collected advisory · 20 Nov 2026