CVE-2026-137035: Bootc: bootc: sealed composefs boot takes fs-verity enforcement from unsigned repository state
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.
Other sources
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.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bootcto a version that resolves this vulnerability.Fixed in 1.17.5
Event History
Frequently Asked Questions
Which systems are affected?
Affected systems run bootc 1.16.0 through 1.17.4 and use a sealed composefs boot with a strict composefs digest specified on the kernel command line. The provided information does not establish whether this is the default configuration.
What access does an attacker need?
An attacker needs offline write access to the root filesystem while the system is powered off. They do not need access to the EFI system partition or to the signing keys.
Can a signed UKI prevent exploitation?
No. An attacker meeting the offline root-filesystem access requirement can boot a modified root filesystem using the legitimately signed UKI, because the affected initramfs trusts unsigned repository metadata and does not verify the mounted image against the specified digest.
What fixes the issue?
Upgrade to bootc 1.17.5. This version applies an explicit integrity policy from the kernel command line and mounts the image using its digest.