dracut initramfs cmd injection via unquoted DHCP ROOT_PATH
CVE-2026-15816 Published on August 7, 2026
Dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()
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.
Vulnerability Analysis
Timeline
Reported to Red Hat.
Made public. 56 days later.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2026-15816 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2026-15816
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-15816 are published in these products:
Affected Versions
Red Hat Enterprise Linux 10:- Version 0:107-9.el10_2 and below * is unaffected.
- Version 0:105-4.el10_0.1 and below * is unaffected.
- Version 0:033-577.el7_9 and below * is unaffected.
- Version 0:049-246.git20260728.el8_10 and below * is unaffected.
- Version 0:049-223.git20230119.el8_8.1 and below * is unaffected.
- Version 0:049-223.git20230119.el8_8.1 and below * is unaffected.
- Version 0:057-120.git20260728.el9_8 and below * is unaffected.
- Version 0:057-120.git20260728.el9_8 and below * is unaffected.
- Version 0:057-25.git20250717.el9_2.2 and below * is unaffected.
- Version 0:057-54.git20250423.el9_4.3 and below * is unaffected.
- Version 0:057-89.git20250311.el9_6.1 and below * is unaffected.
- Version 413.92.202609080414-0 and below * is unaffected.
- Version 414.92.202609011250-0 and below * is unaffected.
- Version 416.94.202609011112-0 and below * is unaffected.
- Version 418.94.202609031320-0 and below * is unaffected.
- Version 4.19.9.6.202609021231-0 and below * is unaffected.
- Version 4.20.9.6.202608260604-0 and below * is unaffected.
- Version 4.21.9.6.202609021100-0 and below * is unaffected.
- Version 4.22.9.8.202608251819-0 and below * is unaffected.
- Version 4.22.9.8.202609081748-0 and below * is unaffected.