← Vulnerability feed

Vulnerability record · CVE-2023-46129 · published 31 October 2023

CVE-2023-46129: Linuxfoundation nats-server vulnerability

Linuxfoundation · Nats Server

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing. The cryptographic key handling library, nkeys, recently gained support for encryption, not just for signing/authentication. This is used in nats-server 2.10 (Sep 2023) and newer for authentication callouts. In nkeys versions 0.4.0 through 0.4.5, corresponding with NATS server versions 2.10.0 through 2.10.3, the nkeys library's `xkeys` encryption handling logic mistakenly passed an array by value into an internal function, where the function mutated that buffer to populate the encryption key to use. As a result, all encryption was actually to an all-zeros key. This affects encryption only, not signing. FIXME: FILL IN IMPACT ON NATS-SERVER AUTH CALLOUT SECURITY. nkeys Go library 0.4.6, corresponding with NATS Server 2.10.4, has a patch for this issue. No known workarounds are available. For any application handling auth callouts in Go, if using the nkeys library, update the dependency, recompile and deploy that in lockstep.

7.5 CVSS 3.1 High EPSS 0.37% · top 71.3% CWE-321 · CWE-321CWE-325 · CWE-325
7.5CVSS 3.1 base score
0.37%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

Description

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing. The cryptographic key handling library, nkeys, recently gained support for encryption, not just for signing/authentication. This is used in nats-server 2.10 (Sep 2023) and newer for authentication callouts. In nkeys versions 0.4.0 through 0.4.5, corresponding with NATS server versions 2.10.0 through 2.10.3, the nkeys library's `xkeys` encryption handling logic mistakenly passed an array by value into an internal function, where the function mutated that buffer to populate the encryption key to use. As a result, all encryption was actually to an all-zeros key. This affects encryption only, not signing. FIXME: FILL IN IMPACT ON NATS-SERVER AUTH CALLOUT SECURITY. nkeys Go library 0.4.6, corresponding with NATS Server 2.10.4, has a patch for this issue. No known workarounds are available. For any application handling auth callouts in Go, if using the nkeys library, update the dependency, recompile and deploy that in lockstep.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-46129 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-28357Linuxfoundation nats-server path traversal vulnerabilityNATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account.EPSS 1.2%9.8CVE-2020-26892Linuxfoundation nats-server hard-coded credentials vulnerabilityThe JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.EPSS 2.1%8.8CVE-2026-58253Linuxfoundation nats-server improper authentication vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0, 2.12.7, and 2.11.16, when no_auth_…EPSS 0.37%8.8CVE-2022-24450Linuxfoundation nats-server missing authorization vulnerabilityNATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the System account by misusing the "d…EPSS 1.3%7.5CVE-2026-58208Linuxfoundation nats-server vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, a WebSocket listener c…EPSS 0.60%7.5CVE-2026-58250Linuxfoundation nats-server null pointer dereference vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated pee…EPSS 0.74%7.5CVE-2026-58210Linuxfoundation nats-server uncontrolled resource consumption vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, an unauthenticated MQT…EPSS 0.74%7.5CVE-2026-33218Linuxfoundation nats-server improper input validation vulnerabilityNATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, a client which …EPSS 0.84%

Source: NIST National Vulnerability Database (record CVE-2023-46129), CISA KEV, FIRST EPSS (scores of 2026-10-05). This page is refreshed as NVD updates the record.