# CVE-2023-36476: `calamares-nixos-extensions` LUKS keyfile exposure

- Severity: High 7.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-29T00:18:42.532Z
- Modified: 2026-06-17T06:06:20.917Z
- Weaknesses: CWE-200, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

calamares-nixos-extensions provides Calamares branding and modules for NixOS, a distribution of GNU/Linux. Users of calamares-nixos-extensions version 0.3.12 and prior who installed NixOS through the graphical calamares installer, with an unencrypted `/boot`, on either non-UEFI systems or with a LUKS partition different from `/` have their LUKS key file in `/boot` as a plaintext CPIO archive attached to their NixOS initrd. A patch is available and anticipated to be part of version 0.3.13 to backport to NixOS 22.11, 23.05, and unstable channels. Expert users who have a copy of their data may, as a workaround, re-encrypt the LUKS partition(s) themselves.

(As written by CVE List.)

## Affected

- NixOS calamares-nixos-extensions: <= 0.3.12; before 0.3.13

## Every score

- GitHub_M: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/osresearch/heads/issues/1348> (exploit, issue-tracking)
- <https://github.com/NixOS/calamares-nixos-extensions/security/advisories/GHSA-3rvf-24q2-24ww> (mitigation, vendor-advisory)
- <https://github.com/vlinkz/calamares-nixos-extensions/commit/837ca4da5521a74d3b5ca6f7b88890a6713faa22> (patch)

## Sources

- CVE List: [CVE-2023-36476](https://www.cve.org/CVERecord?id=CVE-2023-36476), CVE Terms of Use, modified 2024-11-27
- NVD: [CVE-2023-36476](https://nvd.nist.gov/vuln/detail/CVE-2023-36476), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-36476 · Whole record: https://cve.day/CVE-2023-36476.json · Rebuilt by cve.day 2026-11-25T22:58:25.308Z
