SCA: security update for github.com/lxc/incus-os/incus-osd (GHSA-wj2j-qwcf-cfcc)

high Tenable Self-Hosted Container Security Plugin ID 438847

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- IncusOS is an immutable OS image dedicated to running Incus. Prior to 202603142010, 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. That'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). The 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. The 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. This 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. IncusOS version 202603142010 (2026/03/14 20:10 UTC) includes the new PCR15 logic and will
automatically update the TPM policy on boot. Anyone 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. There 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. (CVE-2026-32606)

Solution

Update the github.com/lxc/incus-os/incus-osd library and its related packages to version 0.0.0-20260313012803-e3b35f230d23 or later.

See Also

https://github.com/advisories/GHSA-wj2j-qwcf-cfcc

Plugin Details

Severity: High

ID: 438847

Version: Revision 1.12

Type: Local

Family: SCA Checks

Published: 3/16/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-32606

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.6

Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/16/2026

Vulnerability Publication Date: 3/16/2026

Reference Information

CVE: CVE-2026-32606

cwe: CWE-522