Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-15816

Опубликовано: 05 авг. 2026
Источник: redhat
CVSS3: 7.5

Описание

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 Enterprise Linux 6dracutOut of support scope
Red Hat Enterprise Linux 7dracutAffected
Red Hat Hardened ImagesdracutNot affected
Red Hat OpenShift Container Platform 4rhcosAffected
Red Hat Enterprise Linux 10dracutFixedRHSA-2026:5457613.08.2026
Red Hat Enterprise Linux 8dracutFixedRHSA-2026:5457513.08.2026
Red Hat Enterprise Linux 9dracutFixedRHSA-2026:5457113.08.2026
Red Hat Enterprise Linux 9dracutFixedRHSA-2026:5457113.08.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-78
https://bugzilla.redhat.com/show_bug.cgi?id=2500889dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
11 дней назад

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.

CVSS3: 7.5
nvd
11 дней назад

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.

CVSS3: 7.5
debian
11 дней назад

A flaw was found in dracut. The die() error-handling function writes i ...

suse-cvrf
4 дня назад

Security update for dracut

suse-cvrf
4 дня назад

Security update for dracut

7.5 High

CVSS3