5.3medium
NATS Server: Incomplete fix for CVE-2026-33249: Leaf node connections bypass Nats-Trace-Dest permission check
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-p3j5-5hrq-p75hBIT-NATS-2026-58254GO-2026-7025
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nats-io nats-server | < 2.12.8, >= 2.14.0-RC.1, < 2.14.3 | CVE List |
| github.com/nats-io/nats-server/v2 (Go) | before 2.12.8, from 2.14.0-RC.1 before 2.14.3 | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation nats-server | before 2.12.8, from 2.14.0 before 2.14.3 | NVD |
| nats (Bitnami) | before 2.12.8, from 2.14.0 before 2.14.3 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.3medium 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 |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | medium 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 | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.
The NATS Server supports leafnode connections between servers and message tracing through NATS headers.
Problem Description
Message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections.
A leafnode operator could cause trace events to be sent to subjects that would not otherwise be permitted and could use trace-only behavior to prevent normal delivery or storage of affected messages.
Trace events can include routing, subscription, account, service import and JetStream metadata. The payload of the original application message is not chosen through the trace event itself.
Affected Versions
Versions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8.
Workarounds
Where possible, avoid granting publish paths from less-trusted leaf nodes into subjects for which trace-only behavior would affect delivery guarantees. No other known workarounds are available aside from upgrading to a fixed release.
References
- GHSA advisory: https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h
- Credit: Koda Reef
Go Vulnerability Database
nats-server Leaf node connections bypass Nats-Trace-Dest permission check in github.com/nats-io/nats-server/v2
NVD (es)
NATS Server es un servidor de alto rendimiento para NATS.io, el sistema de mensajería nativo de la nube y del borde. Antes de las versiones 2.14.3 y 2.12.8, las comprobaciones de destino de rastreo de mensajes se aplicaban a las conexiones de clientes ordinarias, pero no de forma consistente a los mensajes que llegaban a través de conexiones de leafnode, lo que permitía a un operador de leafnode enviar eventos de rastreo a temas que de otro modo no estarían permitidos y utilizar un comportamiento de solo rastreo para evitar la entrega o el almacenamiento normal de los mensajes afectados. Este problema está solucionado en las versiones 2.14.3 y 2.12.8.
References
| https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h | advisory, vendor-advisory, web | |
| https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd | fix, patch, web | |
| https://github.com/nats-io/nats-server/releases/tag/v2.12.8 | article, release-notes, web | |
| https://github.com/nats-io/nats-server/releases/tag/v2.14.3 | article, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-58254 | advisory, web | |
| https://github.com/nats-io/nats-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58254 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p3j5-5hrq-p75h changed 2026-11-23 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-7025 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2026-58254 changed 2026-10-25 | Public domain |
| Bitnami Vulnerability Database | BIT-NATS-2026-58254 changed 2026-11-23 | Apache-2.0 |