CVE-2023-46129 in Linuxfoundation Nats-Server and 1 more product
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...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Nats-Server | ≥ 2.10.0, < 2.10.4 |
| Nats | Nkeys | ≥ 0.4.0, < 0.4.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-46129 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-016889-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2023-10-31 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-321: CWE-321
CWE-325: CWE-325
Related attack patterns (CAPEC)
CAPEC-68 Subvert Code-signing Facilities via CWE-325
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the nkeys library versions 0.4.0 through 0.4.5, used by NATS.io for cryptographic key handling, could allow an attacker to exploit improper encryption handling, potentially leading to unauthorized access or data breaches.
The vulnerability stems from improper encryption handling in the nkeys library, which could be exploited by an attacker to decrypt or forge keys, leading to unauthorized access to NATS.io services.
Questions
What is CVE-2023-46129?
A vulnerability in the nkeys library versions 0.4.0 through 0.4.5, used by NATS.io for cryptographic key handling, could allow an attacker to exploit improper encryption handling, potentially leading to unauthorized access or data breaches.
What is the CVSS score for CVE-2023-46129?
CVE-2023-46129 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2023-46129 actively exploited?
No confirmed active exploitation of CVE-2023-46129 as of 2026-09-25.
How do I remediate CVE-2023-46129?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-46129?
CVE-2023-46129 affects Linuxfoundation Nats-Server; Nats Nkeys.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"Nats-Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.