CVE-2026-32606: Github.com/lxc/incus os/incus osd IncusOS Has A LUKS Encryption Vulnerability
HIGHCVE-2026-32606 is a HIGH (CVSS 7.6) incusos has a luks encryption vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Github.com/lxc/incus os/incus osd libraries in the Go ecosystem. The issue involves incusos has a luks encryption bypass due to insufficient tpm policy. Remediation is available by upgrading affected packages to version 0.0.0-20260313012803-e3b35f230d23.
CVE-2026-32606 at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-32606
To remediate this vulnerability, upgrade all affected Github.com/lxc/incus os/incus osd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/lxc/incus-os/incus-osd to 0.0.0-20260313012803-e3b35f230d23
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/lxc/incus-os/incus-osd
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-32606, inspect your project dependencies for Github.com/lxc/incus os/incus osd:
inspect dependencies for github.com/lxc/incus-os/incus-osd
Analyze the terminal output to locate any version of Github.com/lxc/incus os/incus osd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260313012803-e3b35f230d23), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Github.com/lxc/incus os/incus osd, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-32606 Affected Github.com/lxc/incus os/incus osd Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/lxc/incus-os/incus-osd
|
Go |
< 0.0.0-20260313012803-e3b35f230d23
|
0.0.0-20260313012803-e3b35f230d23
|
References
Frequently Asked Questions
What is CVE-2026-32606?
Which Github.com/lxc/incus os/incus osd versions are affected?
What version fixes CVE-2026-32606?
Is github.com/lxc/incus-os/incus-osd affected?
What is the CVSS score of CVE-2026-32606?
What CWE is associated with CVE-2026-32606?
How can I check Go dependencies for CVE-2026-32606?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wj2j-qwcf-cfcc",
"modified" : "2026-03-19T21:02:12Z",
"published" : "2026-03-16T16:26:00Z",
"aliases" : [ "CVE-2026-32606" ],
"summary" : "IncusOS has a LUKS encryption bypass due to insufficient TPM policy",
"details" : "The default configuration of systemd-cryptenroll as used by IncusOS through mkosi allows for an attacker with physical access to the machine to access the encrypted data without requiring any interaction by the system's owner or any tampering of Secure Boot state or kernel (UKI) boot image.\n\nThat's because in this configuration, the LUKS key is made available by the TPM so long as the system has the expected PCR7 value and the PCR11 policy matches. That default PCR11 policy importantly allows for the TPM to release the key to the booted system rather than just from the initrd part of the signed kernel image (UKI).\n\nThe attack relies on the attacker being able to substitute the original encrypted root partition for one that they control. By doing so, the system will prompt for a recovery key on boot, which the attacker has defined and can provide, before booting the system using the attacker's root partition rather than the system's original one.\n\nThe attacker only needs to put a systemd unit starting on system boot within their root partition to have the system run that logic on boot. That unit will then run in an environment where the TPM will allow for the retrieval of the encryption key of the real root disk, allowing the attacker to steal the LUKS volume key (immutable master key) and then use it against the real root disk, altering it or getting data out before putting the disk back the way it was and returning the system without a trace of this attack having happened.\n\nThis is all possible because the system will have still booted with Secure Boot enabled, will have measured and ran the expected bootloader and kernel image (UKI). The initrd selects the root disk based on GPT partition identifiers making it possible to easily substitute the real root disk for an attacker controlled one. This doesn't lead to any change in the TPM state and therefore allows for retrieval of the LUKS key by the attacker through a boot time systemd unit on their alternative root partition.\n\nReproducing steps are effectively:\n - Shutdown the system\n - Alter the GPT partition table to remove the GPT type UUID from the root partition\n - Resize the ESP partition to make space for the attacker's own root partition\n - Create a new LUKS encrypted ext4 partition in the space that was freed up and set the GPT type UUID to that of the original root partition\n - Populate that new root partition with a systemd unit and script which use `systemd-cryptenroll` to unlock and extract the key from the original root partition\n - Boot the system\n - When prompted, enter the passphrase of the new (attacker) root partition\n - Let the system boot IncusOS\n - Stop the system\n - Recover the encryption key that was extracted by the boot time systemd unit\n - Access the original root partition using it, steal or modify the data\n - Remove the new (attacker) root partition\n - Grow back the ESP\n - Restore the GPT type UUID on the root partition\n - Start the system back up, it will boot as expected with no indication that it was compromised\n\n### Impact\nThis impacts all IncusOS users and is a particular worry for anyone running IncusOS in an unsecured physical environment where the system can be tempered with while stopped or is at risk of being seized or stolen.\n\n### Mitigation\nThe fix we've put in place makes use of PCR15 in addition to the existing PCR7 and PCR11 policies (and PCR4 when running without UEFI Secure Boot). This is significant as PCR15 measures a number of values during system boot, including a measurement of decrypting the root partition while in the initrd.\n\nBy binding the LUKS key(s) to an uninitialized PCR15 value, we ensure that only the initrd will be able to automatically decrypt the partitions. As soon as the system boot exits the initrd, whether to boot the legitimate root disk or an attacker's root disk, the TPM state will no longer align with the state required to release the encryption keys, preventing this attack.\n\nhttps://github.com/lxc/incus-os/pull/954 implements the new logic in IncusOS.\n\n### Future improvements\nWe've had to use PCR15 directly as a way to prevent this attack as unfortunately mkosi doesn't currently support passing the `phase` option to `ukify`. The `phase` option would allow for a different PCR11 policy to be generated which allows for restricting key access only until the end of the initrd execution.\n\nBeing able to use this mechanism would provide a cleaner/simpler solution but it's not currently possible due to lack of mkosi support.\n\nhttps://github.com/systemd/mkosi/issues/4109\n\n### Patches\nIncusOS version 202603142010 (2026/03/14 20:10 UTC) includes the new PCR15 logic and will automatically update the TPM policy on boot.\n\nAnyone suspecting that their system may have been physically accessed while shut down should perform a full system wipe and reinstallation as only that will rotate the LUKS volume key and prevent subsequent access to the encrypted data should the system have been previously compromised.\n\n### Workarounds\nThere are no known workarounds other than updating to a version with corrected logic which will automatically rebind the LUKS keys to the new set of TPM registers and prevent this from being exploited.\n\n### Thanks\nThis was brought to our attention by Linux Containers forum user `U-00F8` who referenced a public January 2025 article by `oddlama` describing a similar attack on systems using the default systemd-cryptenroll setup.\n\nWe'd also like to thank Lennart Poettering for his assistance in finding a way to quickly mitigate this attack.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/lxc/incus-os/incus-osd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20260313012803-e3b35f230d23"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/lxc/incus-os/security/advisories/GHSA-wj2j-qwcf-cfcc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32606"
}, {
"type" : "WEB",
"url" : "https://github.com/lxc/incus-os/pull/954"
}, {
"type" : "WEB",
"url" : "https://github.com/lxc/incus-os/commit/e3b35f230d23443d27752eac27ebb2b22c957b75"
}, {
"type" : "WEB",
"url" : "https://discuss.linuxcontainers.org/t/potential-luks-encryption-bypass-through-filesystem-confusion/26348"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lxc/incus-os"
}, {
"type" : "WEB",
"url" : "https://oddlama.org/blog/bypassing-disk-encryption-with-tpm2-unlock"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-522" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-16T16:26:00Z",
"nvd_published_at" : "2026-03-18T06:16:18Z"
}
}