Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-58254NATS Server: Incomplete fix for CVE-2026-33249: Leaf node connections bypass Nats-Trace-Dest permission check
Medium 5.3
In plain English
A medium-severity incorrect authorization in nats-server from nats-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nats-server | no fix listed | DEBIAN-CVE-2026-58254 |
| Debian:13 | nats-server | no fix listed | DEBIAN-CVE-2026-58254 |
| Debian:14 | nats-server | 2.14.3-1 | DEBIAN-CVE-2026-58254 |
| Ubuntu:24.04:LTS | nats-server | no fix listed | UBUNTU-CVE-2026-58254 |
| Ubuntu:25.10 | nats-server | no fix listed | UBUNTU-CVE-2026-58254 |
| Ubuntu:26.10 | nats-server | no fix listed | UBUNTU-CVE-2026-58254 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nats-io | nats-server | < 2.12.8>= 2.14.0-RC.1, < 2.14.3 |
Weakness: CWE-863 · Vector: 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
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3 x_refsource_MISC