CVE-2026-58254
MEDIUM 5.3CVSS 4.0nats-server Leaf node connections bypass Nats-Trace-Dest permission check
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 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.
- Published
- 8 Jul 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- BIT-nats-2026-58254GHSA-p3j5-5hrq-p75hGO-2026-7025
- Sources
- NVDJSONOSV GHSA-p3j5-5hrq-p75hJSONOSV GO-2026-7025JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
< 2.12.8 | 2.12.8 |
| NVD | linuxfoundation | nats-servercpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
>= 2.14.0, < 2.14.3 | 2.14.3 |
| OSV | Go | github.com/nats-io/nats-server/v2 | < 2.12.8 | 2.12.8 |
| OSV | Go | github.com/nats-io/nats-server/v2 | >= 2.14.0-RC.1, < 2.14.3 | 2.14.3 |
| OSV | Go | github.com/nats-io/nats-server/v2 | < 2.12.8; >= 2.14.0-RC.1, < 2.14.3 | 2.12.8, 2.14.3 |
References
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd · Patch, WEB, FIX
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8 · Release Notes, WEB
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3 · Release Notes, WEB
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-58254 · ADVISORY
- https://github.com/nats-io/nats-server · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Nov 2026)