# CVE-2025-58356: Constellation allows insecure use of LUKS2 persistent storage partitions

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA: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.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2025-10-27T16:20:25.000Z
- Modified: 2026-10-08T11:10:00.250Z
- Also known as: GHSA-hq76-6gh2-5g4q, GO-2025-4076
- Weaknesses: CWE-347, CWE-552
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Constellation is the first Confidential Kubernetes. The Constellation CVM image uses LUKS2-encrypted volumes for persistent storage. When opening an encrypted storage device, the CVM uses the libcryptsetup function crypt_activate_by_passhrase. If the VM is successful in opening the partition with the disk encryption key, it treats the volume as confidential. However, due to the unsafe handling of null keyslot algorithms in the cryptsetup 2.8.1, it is possible that the opened volume is not encrypted at all. Cryptsetup prior to version 2.8.1 does not report an error when processing LUKS2-formatted disks that use the cipher_null-ecb algorithm in the keyslot encryption field. This vulnerability is fixed in 2.24.0.

(As written by CVE List.)

## Affected

- edgelesssys constellation: < 2.24.0
- github.com/edgelesssys/constellation/v2 (Go): before 2.24.0
- github.com/edgelesssys/constellation (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 8.3 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/edgelesssys/constellation/security/advisories/GHSA-hq76-6gh2-5g4q> (advisory, web)
- <https://github.com/edgelesssys/constellation/pull/3927> (fix, web)
- <https://github.com/edgelesssys/constellation/releases/tag/v2.24.0> (web)
- <https://blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58356> (advisory)
- <https://github.com/edgelesssys/constellation/commit/bb8d2c8a5c0a0a6510d2cc43055be21f4a3ab83c> (fix, web)
- <https://blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms> (web)
- <https://github.com/edgelesssys/constellation> (package)

## Sources

- CVE List: [CVE-2025-58356](https://www.cve.org/CVERecord?id=CVE-2025-58356), CVE Terms of Use, modified 2025-11-28
- GitHub Advisory Database: [GHSA-hq76-6gh2-5g4q](https://github.com/advisories/GHSA-hq76-6gh2-5g4q), CC-BY-4.0, modified 2025-12-01
- Go Vulnerability Database: [GO-2025-4076](https://pkg.go.dev/vuln/GO-2025-4076), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-58356](https://nvd.nist.gov/vuln/detail/CVE-2025-58356), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-58356 · Whole record: https://cve.day/CVE-2025-58356.json · Rebuilt by cve.day 2026-11-25T22:59:06.898Z
