Home / nats-io / nkeys / CVE-2023-46129
CVE-2023-46129: is it exploited, and which versions of nats-io nkeys are affected and fixed?
CVE-2023-46129 is a hard-coded cryptographic key vulnerability in nats-io nkeys. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: github.com/nats-io/nkeys from 0.4.0 before 0.4.6 and github.com/nats-io/nats-server/v2 from 2.10.0 before 2.10.4 (GitHub advisory GHSA-mr45-rx8q-wcm9). Fixed in 0.4.6 and 2.10.4 (GitHub advisory GHSA-mr45-rx8q-wcm9). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-46129?
xkeys Seal encryption used fixed key for all encryption
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.
From the CVE record by GitHub_M, last updated February 27, 2025, 20:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nats-io | nkeys | >= 2.10.0, < 2.10.4 >= 0.4.0, < 0.4.6 |
As the CVE record by GitHub_M states it, last updated February 27, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/nats-io/nkeys | >= 0.4.0, < 0.4.6 | 0.4.6 | GHSA-mr45-rx8q-wcm9 |
| Go | github.com/nats-io/nats-server/v2 | >= 2.10.0, < 2.10.4 | 2.10.4 | GHSA-mr45-rx8q-wcm9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 31, 2023. Summary: xkeys seal encryption used fixed key for all encryption.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | nats-server | from 2.10.0 before 2.10.4 | application |
| nats | nkeys | from 0.4.0 before 0.4.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:30 UTC.
How severe is CVE-2023-46129?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-46129 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 26, 2025)
- EPSS
- 0.45% probability of exploitation activity in the next 30 days, percentile 40.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/nats-io/nkeys/security/advisories/GHSA-mr45-rx8q-wcm9 x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2023/10/31/1
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ULQQONMSCQSH5Z5OWFFQHCGEZ3NL4DRJ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/R3UETKPUB3V5JS5TLZOF3SMTGT5K5APS/
When was it published, and where is the official record?
- Reserved
- October 16, 2023
- Published
- October 30, 2023, 23:47 UTC
- CVE record updated
- February 27, 2025, 20:38 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:30 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-46129
Is CVE-2023-46129 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.45% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of nats-io nkeys are affected by CVE-2023-46129?
github.com/nats-io/nkeys from 0.4.0 before 0.4.6 and github.com/nats-io/nats-server/v2 from 2.10.0 before 2.10.4, per the GitHub advisory GHSA-mr45-rx8q-wcm9. The tables above give every range the sources list.
Which version fixes CVE-2023-46129?
0.4.6 and 2.10.4, per the GitHub advisory GHSA-mr45-rx8q-wcm9. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-46129?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-46129?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.