home / blog
2026-11-21 · medium
CVE-2026-58254: NATS Server vulnerability allows unauthorized access
CVE-2026-58254: NATS Server vulnerable to unauthorized trace event sending.

CVE-2026-58254 is a vulnerability in NATS Server that allows a leafnode operator to send trace events to subjects that would not otherwise be permitted. This flaw occurs in message trace destination checks, which are applied to ordinary client connections but not consistently to messages arriving through leafnode connections.
The severity of the vulnerability is rated CVSS 6.5 (medium), as confirmed by official sources. Recent technical signals from GitHub describe the bug's behavior in detail, including the possibility of using 'trace-only' functionality to prevent normal delivery or storage of affected messages. No active public exploits have been reported.
For defense, it is crucial to apply the patches available in versions 2.14.3 and 2.12.8. Administrators should also verify their leafnode environment configurations to identify any potential vulnerability points. Regular monitoring of trace traffic can help detect anomalies indicative of exploitation attempts.
At a glance
- What
- Flaw in message trace destination checks in leafnode connections
- Severity
- CVSS 6.5 (medium)
- Affected versions
- Prior to 2.14.3 and 2.12.8
- Fix
- Update to 2.14.3 or 2.12.8
- Status
- Patched, no active public exploits reported
- Action
- Apply patches, verify leafnode configurations
Sources: NVD, CVE-2026-58254