Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in dracut. The NetworkManager-based initrd network module (modules.d/35network-manager/nm-run.sh) reads DHCP lease values (root-path, next-server, dhcp-bootfile) from a NetworkManager device state file and writes them into a temporary file (/tmp/dhclient.<ifname>.dhcpopts) without escaping shell metacharacters. This file is later sourced as shell code during network-root boot handling (for example, NFS-root configurations). A DHCP server reachable on the same network segment as a booting host can supply a root-path, next-server, or dhcp-bootfile option value containing shell metacharacters, which are copied verbatim into the sourced file and executed as root in the initramfs when the file is sourced. Exploitation requires an initramfs built with dracut's network-manager module, configured to boot with a DHCP-derived netroot. This is a distinct code path from CVE-2026-6893, which affects dracut's network-legacy module (dhclient-script.sh). The fix escapes DHCP-derived values using shell-safe quoting before writing them to the generated file, consistent with the approach already used in later dracut versions.
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 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