Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in dracut. The die() function in dracut-lib.sh appends its error message to $hookdir/emergency/01-die.sh using echo "warn dracut: FATAL: \"$*\"", without shell-quoting the message. When the message passed to die() contains DHCP-controlled data -- specifically $netroot, derived from the DHCP ROOT_PATH option via netroot.sh's handler-resolution failure path (die "No handler for netroot type '$netroot'") -- a command-substitution sequence such as $(cmd) embedded in that data survives into the generated 01-die.sh line and executes as root the next time dracut sources the emergency hook directory. This occurs during dracut's standard boot-failure handling: when the netroot handler cannot be resolved, dracut's initqueue-timeout fallback (or, on non-default rd.shell configurations, die() itself) eventually invokes emergency_shell(), which sources every script under $hookdir/emergency/, including the attacker-poisoned 01-die.sh. This is a distinct code path from CVE-2026-6893 (dhclient-script.sh writing unescaped DHCP hostname/route values); CVE-2026-6893's fix does not touch die() and does not remediate this issue. Reproduced directly against die() extracted from shipped dracut RPMs spanning RHEL 6 through RHEL 10 in an isolated sandbox: a crafted netroot value containing $(touch /tmp/marker) created the marker file upon sourcing the generated 01-die.sh, while a clean/benign netroot value round-tripped with identical warning text in every version tested. Replacing the manual echo/quoting with printf '%q' was verified to neutralize the injection while preserving identical warning output for benign input.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:54575 https://access.redhat.com/errata/RHSA-2026:54575
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:54571 https://access.redhat.com/errata/RHSA-2026:54571
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:54576 https://access.redhat.com/errata/RHSA-2026:54576
This issue has been addressed in the following products: Red Hat Enterprise Linux 10.0 Extended Update Support Via RHSA-2026:57580 https://access.redhat.com/errata/RHSA-2026:57580
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2026:57775 https://access.redhat.com/errata/RHSA-2026:57775
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Via RHSA-2026:57785 https://access.redhat.com/errata/RHSA-2026:57785
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.6 Extended Update Support Via RHSA-2026:57772 https://access.redhat.com/errata/RHSA-2026:57772
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat Enterprise Linux 8.8 Telecommunications Update Service Via RHSA-2026:61252 https://access.redhat.com/errata/RHSA-2026:61252
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Extended Lifecycle Support Via RHSA-2026:62269 https://access.redhat.com/errata/RHSA-2026:62269
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.22 Via RHSA-2026:60440 https://access.redhat.com/errata/RHSA-2026:60440
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.20 Via RHSA-2026:60445 https://access.redhat.com/errata/RHSA-2026:60445
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.21 Via RHSA-2026:63041 https://access.redhat.com/errata/RHSA-2026:63041
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.19 Via RHSA-2026:63044 https://access.redhat.com/errata/RHSA-2026:63044
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.16 Via RHSA-2026:62549 https://access.redhat.com/errata/RHSA-2026:62549
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.14 Via RHSA-2026:62409 https://access.redhat.com/errata/RHSA-2026:62409
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.22 Via RHSA-2026:66357 https://access.redhat.com/errata/RHSA-2026:66357
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2026:65851 https://access.redhat.com/errata/RHSA-2026:65851
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.13 Via RHSA-2026:65839 https://access.redhat.com/errata/RHSA-2026:65839
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Via RHSA-2026:69118 https://access.redhat.com/errata/RHSA-2026:69118
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Via RHSA-2026:69119 https://access.redhat.com/errata/RHSA-2026:69119
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.15 Via RHSA-2026:67857 https://access.redhat.com/errata/RHSA-2026:67857
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2026:70586 https://access.redhat.com/errata/RHSA-2026:70586
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION Via RHSA-2026:74499 https://access.redhat.com/errata/RHSA-2026:74499
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2026:70615 https://access.redhat.com/errata/RHSA-2026:70615
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION Via RHSA-2026:79114 https://access.redhat.com/errata/RHSA-2026:79114