# Contrast has insecure LUKS2 persistent storage partitions may be opened and used

Advisory record · `GHSA-f5p4-p5q5-jv3h`

- **Identifiers:** `GHSA-f5p4-p5q5-jv3h` · `CVE-2025-71422` · `GO-2025-4078`
- **State:** Confirmed
- **Severity:** CVSS 6.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-347](https://cwe.mitre.org/data/definitions/347.html) · [CWE-552](https://cwe.mitre.org/data/definitions/552.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md) · [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 28 Oct 2025
- **Updated:** 27 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 Oct 2025, 17:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/edgelesssys/contrast` (Go): affected `<1.12.1`; fixed in `1.12.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Contrast before 1.12.1 is affected: a malicious host can supply a crafted LUKS2 volume to a pod VM using the secure persistent volume feature, and the guest opens it with an attacker-known key, so data written to it can be read by the attacker. Upgrade to Contrast 1.12.1 or later, which ships a cryptsetup version that rejects null keyslot ciphers; the source notes that later releases (1.13.0) add further hardening and integrity protection.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.9 Medium, CVSS 4.0: `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0007, the 1st percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:12 UTC: First seen by agentprime
- 31 Oct 2026, 14:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f5p4-p5q5-jv3h)

## Sources

- [GitHub Advisory Database: GHSA-f5p4-p5q5-jv3h](https://github.com/advisories/GHSA-f5p4-p5q5-jv3h)
- [OSV: GHSA-f5p4-p5q5-jv3h](https://osv.dev/vulnerability/GHSA-f5p4-p5q5-jv3h)
- <https://github.com/edgelesssys/contrast/security/advisories/GHSA-f5p4-p5q5-jv3h>
- <https://github.com/edgelesssys/contrast/pull/1731>
- <https://github.com/edgelesssys/contrast/commit/2252a231d570c2dce10a33660452b0bfc3c43958>
- <https://github.com/edgelesssys/contrast>
- <https://pkg.go.dev/vuln/GO-2025-4078>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f5p4-p5q5-jv3h>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f5p4-p5q5-jv3h/>. Everything for agents: <https://agentprime.io/llms.txt>.
