Dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()
Published Aug 7, 2026 · Updated Oct 23, 2026
Original summary
Normalized public record · Updated Oct 23, 2026
Dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 10%
- Aliases
- None reported
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- RHSA-2026:54571 ↗
- RHSA-2026:54575 ↗
- RHSA-2026:54576 ↗
- RHSA-2026:57580 ↗
- RHSA-2026:57772 ↗
- RHSA-2026:57775 ↗
- RHSA-2026:57785 ↗
- RHSA-2026:60440 ↗
- RHSA-2026:60445 ↗
- RHSA-2026:61252 ↗
- RHSA-2026:62269 ↗
- RHSA-2026:62409 ↗
Record history
Published Aug 7, 2026 · Last refreshed Oct 23, 2026