# GO-2026-7025: nats-server Leaf node connections bypass Nats-Trace-Dest permission check in github.com/nats-io/nats-server/v2

- Database: Go
- Also known as: BIT-NATS-2026-58254
- Published: 2026-11-23
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-58254](https://cve.now/CVE-2026-58254.md): NATS Server authorization bypass in leaf node trace permissions

## Also published as

- [GHSA-P3J5-5HRQ-P75H](https://cve.now/GHSA-P3J5-5HRQ-P75H.md) (GitHub)

## Affected versions

- github.com/nats-io/nats-server/v2 (Go): fixed in 2.12.8; from 2.14.0-RC.1, fixed in 2.14.3

## Description

nats-server Leaf node connections bypass Nats-Trace-Dest permission check in github.com/nats-io/nats-server/v2

## References

- 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

Page: https://cve.now/GO-2026-7025

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
