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 attacker controlling a rogue DHCP server on the adjacent network to inject commands via the DHCP ROOT_PATH option. This leads to root code execution during boot-failure handling when dracut sources its emergency hook scripts. The issue affects systems that perform network boot using DHCP-supplied ROOT_PATH values and encounter boot failures triggering the emergency shell.
AI Analysis
Technical Summary
The flaw in dracut arises because the die() function writes error messages into a shell script 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 controlling a rogue DHCP server on the same network segment can inject a command-substitution sequence. This malicious code executes as root the next time dracut sources its emergency hook scripts during boot-failure handling. Exploitation requires network boot with DHCP-supplied ROOT_PATH and failure of the netroot handler resolution, triggering the emergency shell mechanism. Systems not using network boot or DHCP ROOT_PATH are not affected.
Potential Impact
Successful exploitation results in root-level code execution on affected systems during boot failure handling. This can compromise confidentiality, integrity, and availability of the system. The attack requires an adjacent network attacker controlling or spoofing a DHCP server and conditions that cause dracut to invoke its emergency shell. Systems not performing network boot or not relying on DHCP ROOT_PATH are not impacted.
Mitigation Recommendations
Restrict access to DHCP servers on networks used for network boot by implementing DHCP snooping or using dedicated/trusted provisioning VLANs until an official fix is available. Monitor vendor advisories for patches and apply them once released. Systems not using network boot or DHCP ROOT_PATH are not vulnerable and require no action.
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 attacker controlling a rogue DHCP server on the adjacent network to inject commands via the DHCP ROOT_PATH option. This leads to root code execution during boot-failure handling when dracut sources its emergency hook scripts. The issue affects systems that perform network boot using DHCP-supplied ROOT_PATH values and encounter boot failures triggering the emergency shell.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The flaw in dracut arises because the die() function writes error messages into a shell script 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 controlling a rogue DHCP server on the same network segment can inject a command-substitution sequence. This malicious code executes as root the next time dracut sources its emergency hook scripts during boot-failure handling. Exploitation requires network boot with DHCP-supplied ROOT_PATH and failure of the netroot handler resolution, triggering the emergency shell mechanism. Systems not using network boot or DHCP ROOT_PATH are not affected.
Potential Impact
Successful exploitation results in root-level code execution on affected systems during boot failure handling. This can compromise confidentiality, integrity, and availability of the system. The attack requires an adjacent network attacker controlling or spoofing a DHCP server and conditions that cause dracut to invoke its emergency shell. Systems not performing network boot or not relying on DHCP ROOT_PATH are not impacted.
Mitigation Recommendations
Restrict access to DHCP servers on networks used for network boot by implementing DHCP snooping or using dedicated/trusted provisioning VLANs until an official fix is available. Monitor vendor advisories for patches and apply them once released. Systems not using network boot or DHCP ROOT_PATH are not vulnerable and require no action.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8pxm-cr92-crx8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-15816"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a75f70cbf8831d53984f569
Added to database: 08/07/2026, 15:17:32 UTC
Last enriched: 09/18/2026, 02:09:17 UTC
Last updated: 09/20/2026, 22:01:31 UTC
Views: 115
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.
External Links
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.