Description
A flaw was found in dracut. A remote attacker on the adjacent network can exploit this vulnerability by providing specially crafted DHCP options, such as a malicious root-path, next-server, or bootfile name, to a system using dracut's NetworkManager-based initrd network module. These options are improperly handled and written into a temporary shell script without proper escaping, leading to command injection. This allows the attacker to achieve root code execution within the initramfs during system boot.
Published: 2026-07-21
Score: 7.5 High
EPSS: 2.9% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in dracut’s NetworkManager‑based initrd network module allows a remote attacker on an adjacent network to supply malicious DHCP options such as root‑path, next‑server, or bootfile. These options are written directly into a temporary shell script without proper escaping, creating a command‑injection point that can be exploited to run any command with root privileges inside the initramfs during boot. The weakness is identified as CWE‑78 and effectively breaks the entire system integrity guarantee during the critical boot phase.

Affected Systems

The vulnerability applies to Red Hat distributions including Red Hat Enterprise Linux 6, 7, 8, 9, 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4. Any installation that uses dracut’s NetworkManager initrd network module is susceptible, and the issue is addressed in the Red Hat patches listed in the advisories.

Risk and Exploitability

The CVSS score of 7.5 denotes high severity while the EPSS of 3% suggests a low likelihood of broad exploitation. The vulnerability is not listed in CISA’s KEV catalog. A remote attacker must control the DHCP server on the same local network and send crafted options before the target system completes its boot sequence. Though the window of opportunity is limited to the initramfs stage, the ability to execute arbitrary code with root privileges makes the risk significant for systems that accept DHCP offers from untrusted sources during startup.

Generated by OpenCVE AI on August 24, 2026 at 16:16 UTC.

Remediation

Vendor Workaround

Avoid using the root=dhcp/netroot=dhcp/root=dhcp6/netroot=dhcp6 kernel command-line options — these cause dracut to trust the DHCP server's root-path option to determine the boot target. Configuring the netroot target explicitly on the kernel/PXE command line instead (e.g. netroot=nfs:<server>:<path> or netroot=iscsi:... with a literal value).


OpenCVE Recommended Actions

  • Apply the Red Hat patch released in RHSA‑2026:26534 or RHSA‑2026:40700 to update dracut to a secure version
  • If a patch is not immediately available, configure the NetworkManager initrd module to escape DHCP‑derived values (for example using printf '%q') before writing them into the generated dhcpopts file, as described in the vendor workaround
  • Restrict systems from accepting DHCP offers from untrusted networks, or disable the NetworkManager initrd module if it is not required for the deployment

Generated by OpenCVE AI on August 24, 2026 at 16:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhel E4s
Redhat rhel Tus
CPEs cpe:/o:redhat:rhel_e4s:8.8::baseos
cpe:/o:redhat:rhel_tus:8.8::baseos
Vendors & Products Redhat rhel E4s
Redhat rhel Tus
References

Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
References

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8
References
Metrics threat_severity

None

threat_severity

Important


Tue, 21 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in dracut. A remote attacker on the adjacent network can exploit this vulnerability by providing specially crafted DHCP options, such as a malicious root-path, next-server, or bootfile name, to a system using dracut's NetworkManager-based initrd network module. These options are improperly handled and written into a temporary shell script without proper escaping, leading to command injection. This allows the attacker to achieve root code execution within the initramfs during system boot.
Title Dracut: dracut: root code execution via dhcp options command injection in networkmanager initrd module
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::baseos
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 Rhel E4s Rhel Tus
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-31T03:33:45.524Z

Reserved: 2026-07-21T08:23:53.560Z

Link: CVE-2026-16445

cve-icon Vulnrichment

Updated: 2026-07-22T17:51:09.630Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-21T13:17:16.730

Modified: 2026-08-31T04:17:11.917

Link: CVE-2026-16445

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-21T00:00:00Z

Links: CVE-2026-16445 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T16:30:07Z

Weaknesses
  • CWE-78

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