A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory… (CVE-2026-15816)
A vulnerability in dracut's die() error-handling function allows an adjacent-network attacker controlling a rogue DHCP server to inject shell commands via the DHCP ROOT_PATH option. This injection occurs because the error message is written into a shell script without proper shell-quoting, leading to root code execution during boot-failure handling when dracut sources emergency hook scripts. The issue affects systems performing network boot with DHCP-supplied ROOT_PATH values and requires the netroot handler resolution to fail, triggering the emergency shell mechanism.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-15816) exists in dracut's die() function, which writes error messages into shell scripts under the initramfs emergency-hook directory without proper shell quoting. If the error message includes data derived from the DHCP ROOT_PATH option, an attacker on the same network segment who controls a rogue DHCP server can inject command-substitution sequences. These sequences execute with root privileges the next time dracut sources its emergency hook scripts during boot-failure handling. Exploitation requires network booting with DHCP and failure of the netroot handler resolution, conditions controlled by an adjacent attacker. This vulnerability is distinct from CVE-2026-6893 and affects only systems relying on DHCP-supplied ROOT_PATH values during network boot.
Potential Impact
Successful exploitation allows an attacker on the adjacent network to execute arbitrary commands as root during system boot failure handling, potentially leading to full system compromise. The vulnerability impacts confidentiality, integrity, and availability by enabling unauthorized code execution, data modification, and denial of service. Systems not performing network boot or not using DHCP-supplied ROOT_PATH values are not affected.
Mitigation Recommendations
Currently, no official patch is confirmed available. Until a fix is released, restrict access to DHCP servers on networks used for network boot by implementing DHCP snooping or using dedicated/trusted provisioning VLANs. Systems not performing network boot or not relying on DHCP-supplied ROOT_PATH values are not exposed. Monitor vendor advisories for updates and apply official fixes once available.
A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory… (CVE-2026-15816)
Description
A vulnerability in dracut's die() error-handling function allows an adjacent-network attacker controlling a rogue DHCP server to inject shell commands via the DHCP ROOT_PATH option. This injection occurs because the error message is written into a shell script without proper shell-quoting, leading to root code execution during boot-failure handling when dracut sources emergency hook scripts. The issue affects systems performing network boot with DHCP-supplied ROOT_PATH values and requires the netroot handler resolution to fail, triggering the emergency shell mechanism.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-15816) exists in dracut's die() function, which writes error messages into shell scripts under the initramfs emergency-hook directory without proper shell quoting. If the error message includes data derived from the DHCP ROOT_PATH option, an attacker on the same network segment who controls a rogue DHCP server can inject command-substitution sequences. These sequences execute with root privileges the next time dracut sources its emergency hook scripts during boot-failure handling. Exploitation requires network booting with DHCP and failure of the netroot handler resolution, conditions controlled by an adjacent attacker. This vulnerability is distinct from CVE-2026-6893 and affects only systems relying on DHCP-supplied ROOT_PATH values during network boot.
Potential Impact
Successful exploitation allows an attacker on the adjacent network to execute arbitrary commands as root during system boot failure handling, potentially leading to full system compromise. The vulnerability impacts confidentiality, integrity, and availability by enabling unauthorized code execution, data modification, and denial of service. Systems not performing network boot or not using DHCP-supplied ROOT_PATH values are not affected.
Mitigation Recommendations
Currently, no official patch is confirmed available. Until a fix is released, restrict access to DHCP servers on networks used for network boot by implementing DHCP snooping or using dedicated/trusted provisioning VLANs. Systems not performing network boot or not relying on DHCP-supplied ROOT_PATH values are not exposed. Monitor vendor advisories for updates and apply official fixes once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8pxm-cr92-crx8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-15816"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a75f70cbf8831d53984f569
Added to database: 08/07/2026, 15:17:32 UTC
Last enriched: 08/07/2026, 15:29:43 UTC
Last updated: 08/07/2026, 19:40:59 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.