nats-server leaf node connections bypass Nats-Trace-Dest permission check
- nats-server
- leaf node connections
- permission check

Flaw affects versions v2.14.2, v2.12.7 and earlier
Fixes are available in versions
2.14.3and2.12.8Operators advised to upgrade or restrict publish paths
An advisory for nats-server published on November 20, 2026, reported that leaf node connections can bypass the Nats-Trace-Dest permission check. The flaw may allow trace-only behavior to affect message delivery and storage.
GitLab’s advisory says the check was applied to ordinary client connections but not consistently to messages arriving through leaf node connections. A leaf node is a connection between servers; the bypass could let an operator send trace events to subjects that would otherwise be disallowed.
The advisory identifies v2.14.2, v2.12.7 and earlier as affected, and says the issue is fixed in versions 2.14.3 and 2.12.8. It recommends upgrading to a fixed version.
Where upgrading is not possible, operators should avoid allowing less-trusted leaf nodes to publish to subjects where trace-only behavior could affect delivery guarantees, GitLab’s advisory says.




