CVE-2026-16445

Dracut: dracut: root code execution via dhcp options command injection in networkmanager initrd module

Published Jul 21, 2026 CVSS 3.1 · 7.5 High EPSS 3.2% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 Enterprise Linux 6, 7, 8, 9, 10 and the associated support services such as Advanced Mission Critical Update Support and Extended Update Support Long‑Life Add‑On for RHEL 8.4, 8.6, 8.8, as well as the RHEL 8 Telecommunications Update Service and RHEL 8 Update Services for SAP Solutions, the Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4. Any installation that uses dracut’s NetworkManager initrd network module is vulnerable, 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 very 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.

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
  • Avoid using the root=dhcp or root=dhcp6 kernel command‑line options and instead explicitly configure a literal netroot target on the kernel or PXE command line (for example, netroot=nfs:<server>:<path> or netroot=iscsi:… with a literal value).
  • 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 October 25, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8828-1 dracut vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:4.12::el8
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/o:redhat:rhel_aus:8.4::baseos
cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
cpe:/o:redhat:rhel_eus_long_life:8.6::baseos
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References
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
Type Values Removed Values Added
Metrics ssvc

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

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

None

threat_severity

Important

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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 10:02 PM
Reserved
Jul 21, 2026, 8:23 AM
Status
Awaiting Analysis
Published
Jul 21, 2026, 1:17 PM
Modified
Nov 4, 2026, 10:18 PM
Severity
Important
Public date
Jul 21, 2026, 12:00 AM