# CVE-2023-46129: xkeys Seal encryption used fixed key for all encryption

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-10-30 · Modified: 2025-02-27
- Aliases: UBUNTU-CVE-2023-46129, DEBIAN-CVE-2023-46129, CGA-285x-mvgx-hvwr, CGA-58j8-r4pr-8r78, CGA-gvh2-r4w7-vcm8, CGA-hqf7-rrrf-v3w8, CGA-j22v-f375-rp3w, CGA-pgq2-99vw-wp72, CGA-phj4-7c4j-c76v, CGA-qq8r-26f2-qg55, GHSA-mr45-rx8q-wcm9, BIT-nats-2023-46129, GO-2023-2163, ALPINE-CVE-2023-46129
- Record: https://cvemate.com/vulnerability/CVE-2023-46129 · JSON: https://cvemate.com/vulnerability/CVE-2023-46129/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.446%, percentile 40.496%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine nats-server (Alpine Linux): ≥ 2.10.0, \< 2.10.4-r0
- chainguard k3s (Chainguard): \< 1.28.3-r1
- chainguard minio (Chainguard): \< 0.20231101.183725-r0
- chainguard nats (Chainguard): \< 0.1.1-r5
- chainguard nats-server (Chainguard): \< 2.10.4-r0
- wolfi k3s (Wolfi): \< 1.28.3-r1
- wolfi minio (Wolfi): \< 0.20231101.183725-r0
- wolfi nats (Wolfi): \< 0.1.1-r5
- wolfi nats-server (Wolfi): \< 2.10.4-r0
- debian golang-github-nats-io-nkeys (Debian): \< 0.4.6-1
- debian nats-server (Debian): \< 2.10.4-1
- ubuntu golang-github-nats-io-nkeys (Ubuntu): All versions (No fix recorded)
- github.com/nats-io nkeys (Go): ≥ 0.4.0, \< 0.4.6
- github.com/nats-io/nats-server v2 (Go): ≥ 2.10.0, \< 2.10.4
- linuxfoundation nats-server: ≥ 2.10.0, \< 2.10.4
- nats-io nkeys: ≥ 2.10.0, \< 2.10.4 \| ≥ 0.4.0, \< 0.4.6
- nats nkeys: ≥ 0.4.0, \< 0.4.6

## References

- <https://github.com/nats-io/nkeys/security/advisories/GHSA-mr45-rx8q-wcm9>
- <http://www.openwall.com/lists/oss-security/2023/10/31/1>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULQQONMSCQSH5Z5OWFFQHCGEZ3NL4DRJ/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R3UETKPUB3V5JS5TLZOF3SMTGT5K5APS/>
- <https://ubuntu.com/security/CVE-2023-46129>
- <https://advisories.nats.io/CVE/secnote-2023-02.txt>
- <https://www.cve.org/CVERecord?id=CVE-2023-46129>
- <https://security-tracker.debian.org/tracker/CVE-2023-46129>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46129.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46129>
- <https://github.com/nats-io/nkeys/commit/58fb9d69f42ea73fffad1d14e5914dc666f3daa1>
- <https://github.com/nats-io/nkeys>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R3UETKPUB3V5JS5TLZOF3SMTGT5K5APS>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULQQONMSCQSH5Z5OWFFQHCGEZ3NL4DRJ>
- <https://security.alpinelinux.org/vuln/CVE-2023-46129>

---

Data as of 2026-12-05T11:22:39.528Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
