Описание
A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory without properly shell-quoting it. When the message contains data derived from the DHCP ROOT_PATH option, an attacker on the adjacent network who controls a rogue DHCP server can inject a command-substitution sequence that executes as root the next time dracut sources its emergency hook scripts during standard boot-failure handling.
Отчет
Red Hat Product Security rates this flaw's impact as Important. Exploitation requires an attacker-controlled or spoofed DHCP server on the same network segment as a system performing network boot (root=dhcp/netroot=dhcp), and for the DHCP-supplied ROOT_PATH value to fail dracut's netroot handler resolution -- both fully within an adjacent-network attacker's control. Reaching the point where the poisoned hook script is actually sourced depends on dracut's boot-failure handling reinvoking the emergency shell mechanism, which occurs by default when the netroot handler cannot be resolved. This is a separate code path from CVE-2026-6893, which patched modules.d/35network-legacy/dhclient-script.sh but did not modify dracut-lib.sh's die() function. Systems that do not perform network/PXE boot, or that do not rely on DHCP-supplied ROOT_PATH values, are not exposed to this issue.
Меры по смягчению последствий
Restrict DHCP server access on networks used for network boot (DHCP snooping, dedicated/trusted provisioning VLANs) until a fix is available.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Hardened Images | dracut | Not affected | ||
| Red Hat OpenShift Container Platform 5 | openshift/ose-rhel-coreos-9 | Affected | ||
| Red Hat Enterprise Linux 10 | dracut | Fixed | RHSA-2026:54576 | 13.08.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | dracut | Fixed | RHSA-2026:57580 | 20.08.2026 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | dracut | Fixed | RHSA-2026:74499 | 01.10.2026 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | dracut | Fixed | RHSA-2026:79114 | 08.10.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | dracut | Fixed | RHSA-2026:62269 | 01.09.2026 |
| Red Hat Enterprise Linux 8 | dracut | Fixed | RHSA-2026:54575 | 13.08.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | dracut | Fixed | RHSA-2026:69118 | 21.09.2026 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | dracut | Fixed | RHSA-2026:69118 | 21.09.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory without properly shell-quoting it. When the message contains data derived from the DHCP ROOT_PATH option, an attacker on the adjacent network who controls a rogue DHCP server can inject a command-substitution sequence that executes as root the next time dracut sources its emergency hook scripts during standard boot-failure handling.
A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory without properly shell-quoting it. When the message contains data derived from the DHCP ROOT_PATH option, an attacker on the adjacent network who controls a rogue DHCP server can inject a command-substitution sequence that executes as root the next time dracut sources its emergency hook scripts during standard boot-failure handling.
A flaw was found in dracut. The die() error-handling function writes i ...
EPSS
7.5 High
CVSS3