CVE-2026-58254: Authorization Bypass in NATS Server Message Tracing for Leaf Node Connections
Vulnerability ID: CVE-2026-58254
CVSS Score: 6.5
Published: 2026-11-20
NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.
TL;DR
An incomplete fix for CVE-2026-33249 in NATS Server leaves leaf node connections exempt from Nats-Trace-Dest publish permission checks.…