Vulnerability · Published Sep 27, 2026 · Assigned by VulnCheck
CVE-2025-71422Contrast before 1.12.1 Insecure LUKS2 Persistent Storage
Medium 5.7
In plain English
A medium-severity security flaw in contrast from edgelesssys. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 0% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Contrast is a Kubernetes runtime for confidential containers. In versions before 1.12.1, the secure persistent volume feature is vulnerable to a malicious host supplying a crafted LUKS2 volume to a pod VM. LUKS2 volume metadata is not authenticated and, with cryptsetup versions prior to 2.8.1, a header specifying the null keyslot encryption algorithm (cipher_null-ecb) is accepted without error. Because the Contrast Initializer assumes a device is protected if `cryptsetup open` succeeds with the secret seed, the guest will open the attacker-supplied volume and write secret data in plaintext, or under a volume key known to the attacker, allowing the host to read confidential data that should have been encrypted. Contrast v1.12.1 ships cryptsetup 2.8.1, which disables null ciphers in keyslots when the passphrase is non-empty; v1.13.0 adds detached-header validation in guest memory and integrity protection for secure persistent storage. Contrast persistent volumes were not integrity protected, so integrity impact is not considered.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/edgelesssys/contrast | 1.12.1 | GHSA-f5p4-p5q5-jv3h |
| Go | github.com/edgelesssys/contrast | 1.12.1 | GO-2025-4078 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| edgelesssys | contrast | 0 – before 1.12.1 |
Weakness: CWE-347 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-f5p4-p5q5-jv3h) vendor-advisory
- VulnCheck Advisory: Contrast before 1.12.1 Insecure LUKS2 Persistent Storage third-party-advisory