Red Hat Enterprise Linux 8
Dracut: dracut: root code execution via dhcp options command injection in networkmanager initrd module
A flaw was found in dracut. A remote attacker on the adjacent network can exploit this vulnerability by providing specially crafted DHCP options, such as a malicious root-path, next-server, or bootfile name, to a system using dracut's NetworkManager-based initrd network module. These options are improperly handled and written into a temporary shell script without proper escaping, leading to command injection. This allows the attacker to achieve root code execution within the initramfs during system boot.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:049-244.git20260529.el8_10
Fixed in 0:049-138.git20220131.el8_4.1
Fixed in 0:049-138.git20220131.el8_4.1
Fixed in 0:049-203.git20220511.el8_6.1
Fixed in 0:049-203.git20220511.el8_6.1
Fixed in 0:049-223.git20230119.el8_8.1
Fixed in 0:049-223.git20230119.el8_8.1
Fixed in 412.86.202610250235-0
Fixed in 109-7.hum1
Mitigation
Upgrade Red Hat Enterprise Linux 8 to 0:049-244.git20260529.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:049-138.git20220131.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:049-138.git20220131.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:049-203.git20220511.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:049-203.git20220511.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:049-223.git20230119.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:049-223.git20230119.el8_8.1 or later.
Upgrade Red Hat OpenShift Container Platform 4.12 to 412.86.202610250235-0 or later.
Upgrade Red Hat Hardened Images to 109-7.hum1 or later.
Workaround
Avoid using the root=dhcp/netroot=dhcp/root=dhcp6/netroot=dhcp6 kernel command-line options — these cause dracut to trust the DHCP server's root-path option to determine the boot target. Configuring the netroot target explicitly on the kernel/PXE command line instead (e.g. netroot=nfs:<server>:<path> or netroot=iscsi:... with a literal value).
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:26534
- Vendor advisory access.redhat.com/errata/RHSA-2026:40700
- Vendor advisory access.redhat.com/errata/RHSA-2026:61252
4 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:69118
- Vendor advisory access.redhat.com/errata/RHSA-2026:69119
- Vendor advisory access.redhat.com/errata/RHSA-2026:90272
- Patch github.com/dracutdevs/dracut/commit/e509c638e6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.