A flaw was found in bootc. On a sealed composefs boot with a strict composefs digest on the kernel command line, the initramfs derives fs-verity enforcement from unsigned repository metadata and can mount an image under images/refs without measuring it against that digest. An attacker with offline write access to the root filesystem can boot a modified root under a legitimately signed UKI.
A flaw was found in bootc. On a sealed composefs boot, the initramfs in bootc 1.16.0 through 1.17.4 opens the repository with openupgrade and mounts the image named by the strict composefs= kernel argument with Repository::mount. The repository mode is taken from unsigned meta.json, and openimage returns an image at images/refs/<digest> without comparing its fs-verity digest to that name. An attacker who can write the root filesystem while the system is off, and who cannot write the EFI system partition or the signing keys, can boot a different root under the original signed UKI. The fix is bootc 1.17.5, which sets an explicit integrity policy from the kernel command line and mounts with mountdigest. This is GHSA-g77m-w5pv-gphg.