Description
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.
Published: 2026-08-07
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when the die() function in dracut writes its error message into a shell script under the initramfs emergency‑hook directory without properly escaping it. If the message contains data supplied by the DHCP ROOT_PATH option, an attacker controlling a rogue DHCP server can inject a command‑substitution sequence that is executed as root when dracut sources emergency hook scripts during a boot failure. This allows the attacker to run arbitrary commands with root privileges after a system crash, leading to full compromise of the affected machine.

Affected Systems

Red Hat Enterprise Linux 10, 6, 7, 8, 9, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are affected. The flaw resides in the dracut component used by these products.

Risk and Exploitability

The CVSS score is 7.5, indicating a high‑severity flaw. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an attacker to control the DHCP server on the network that provides network boot or boot‑failure support. By setting the DHCP ROOT_PATH to a value that includes command substitution, the attacker can execute arbitrary shell commands as root during the next boot‑failure handling event.

Generated by OpenCVE AI on August 7, 2026 at 12:20 UTC.

Remediation

Vendor Workaround

Restrict DHCP server access on networks used for network boot (DHCP snooping, dedicated/trusted provisioning VLANs) until a fix is available.


OpenCVE Recommended Actions

  • Apply the Red Hat update that implements the dracut patch for CVE‑2026‑15816.
  • Restrict DHCP server access on networks used for network boot by enabling DHCP snooping or placing boot servers on dedicated and trusted provisioning VLANs until the patch is available.
  • Verify that your DHCP servers do not expose the ROOT_PATH option to untrusted networks or remove it from the DHCP options sent to booting clients.

Generated by OpenCVE AI on August 7, 2026 at 12:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 07 Aug 2026 11:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-78
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux Hummingbird Openshift
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-07T10:33:33.612Z

Reserved: 2026-07-15T11:41:57.564Z

Link: CVE-2026-15816

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-05T23:59:00Z

Links: CVE-2026-15816 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T12:30:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')