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: < 1% Very 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 less than 1% 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 July 30, 2026 at 17:31 UTC.

Remediation

Vendor Workaround

Escape DHCP-derived values (root-path, next-server, dhcp-bootfile) with shell-safe quoting (for example printf '%q') before writing them to the generated dhcpopts file in modules.d/35network-manager/nm-run.sh. This approach is already used in dracut-057 and later, and is already present in the RHEL 8.10.z dracut-049-244.git20260529.el8_10 build.


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 July 30, 2026 at 17:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-22T18:00:32.326Z

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

Link: CVE-2026-16445

cve-icon Vulnrichment

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

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-16445 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:45:03Z

Weaknesses
  • CWE-78

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