CVE-2026-137035 in Red Hat
Summary
by MITRE • 11/26/2026
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.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in bootc represents a critical failure in the integrity verification mechanisms of sealed composefs boots, specifically within the initialization phase where the initramfs processes repository metadata. In systems configured with strict composefs digest enforcement via kernel command line parameters, the expectation is that all filesystem images are cryptographically measured and verified against known good hashes before being mounted. However, a logical flaw exists in how the initramfs derives fs-verity enforcement policies from unsigned repository metadata rather than strictly enforcing the pre-defined digests provided by the bootloader or firmware. This architectural oversight allows the system to mount an image located under the images/refs directory without validating it against the strict digest specified on the kernel command line, effectively bypassing a key security control designed to prevent unauthorized modifications to the root filesystem.
From a technical perspective, this flaw stems from the separation of policy derivation and enforcement within the boot process. The initramfs incorrectly prioritizes unsigned metadata for determining fs-verity settings over the immutable digest constraints mandated by the kernel command line. Consequently, even if the Unified Kernel Image (UKI) is legitimately signed and verified by secure boot mechanisms, the underlying root filesystem can be substituted with a modified version that has not been measured against the expected cryptographic hash. This creates a scenario where the integrity of the bootloader does not guarantee the integrity of the operating system image it loads, undermining the chain of trust established during the early boot sequence.
The operational impact of this vulnerability is severe for environments relying on sealed or immutable root filesystems for security compliance and stability. An attacker with offline write access to the physical storage media can exploit this flaw by replacing a legitimate image in the images/refs directory with a maliciously crafted variant. Because the system fails to measure this new image against the strict digest, it will boot successfully using the legitimately signed UKI, thereby masking the presence of tampered software. This allows for persistent rootkits, backdoors, or data exfiltration tools to be installed at the lowest privilege level without triggering integrity violations that would normally halt the boot process or alert administrators to a compromise.
This vulnerability aligns with CWE-284 Improper Access Control and CWE-359 Exposure of Private Information Through Sensitivity of System State, as it involves unauthorized modification of system components due to insufficient validation checks. In terms of MITRE ATT&CK framework behaviors, this flaw facilitates techniques associated with T1059 Command and Scripting Interpreter through the execution of malicious code at boot time, and more specifically relates to persistence mechanisms like T1547 Boot or Logon Autostart Execution where an attacker modifies system files to ensure their payload runs on startup. The ability to bypass digest verification is also consistent with aspects of supply chain attacks where trusted binaries are used to load untrusted payloads.
Mitigation strategies must focus on correcting the logic within the initramfs to strictly enforce fs-verity enforcement based solely on the kernel command line digests, ignoring unsigned metadata for integrity decisions. Developers should implement a hard fail condition if any image under images/refs does not match the expected digest when strict mode is enabled. Additionally, system administrators can mitigate risk by ensuring that physical access controls are robust to prevent offline write access to storage devices, although this is often impractical in many deployment scenarios. Updating bootc and related initramfs tools to versions that patch this logical flaw is essential for restoring the integrity guarantees of sealed composefs boots. Regular auditing of filesystem hashes against known good baselines can also help detect if such a modification has already occurred before it impacts system operations.