Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/edgelesssys/constellation/v2
  4. ›
  5. CVE-2025-58356

CVE-2025-58356: Constellation has insecure LUKS2 persistent storage partitions which may be opened and used

October 27, 2025 (updated December 1, 2025)

A malicious host may provide a crafted LUKS2 volume to a confidential computing guest that is using the OpenCryptDevice feature. The guest will open the volume and write secret data using a volume key known to the attacker. The attacker can also pre-load data on the device, which could potentially compromise guest execution.

LUKS2 volume metadata is not authenticated and supports null key-encryption algorithms, allowing an attacker to create a volume such that the volume:

  • Opens (cryptsetup open) without error using any passphrase or token
  • Records all writes in plaintext (or ciphertext with an attacker-known key)
  • Contains arbitrary data chosen by the attacker

References

  • blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms
  • github.com/advisories/GHSA-hq76-6gh2-5g4q
  • github.com/edgelesssys/constellation
  • github.com/edgelesssys/constellation/commit/bb8d2c8a5c0a0a6510d2cc43055be21f4a3ab83c
  • github.com/edgelesssys/constellation/pull/3927
  • github.com/edgelesssys/constellation/releases/tag/v2.24.0
  • github.com/edgelesssys/constellation/security/advisories/GHSA-hq76-6gh2-5g4q
  • nvd.nist.gov/vuln/detail/CVE-2025-58356

Code Behaviors & Features

Detect and mitigate CVE-2025-58356 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.24.0

Fixed versions

  • 2.24.0

Solution

Upgrade to version 2.24.0 or above.

Impact 6 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature
  • CWE-552: Files or Directories Accessible to External Parties

Source file

go/github.com/edgelesssys/constellation/v2/CVE-2025-58356.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.