Skip to main content

dracut CVE-2026-16445

| EUVDEUVD-2026-46253 HIGH
OS Command Injection (CWE-78)
2026-07-21 secalert@redhat.com GHSA-4672-282m-8fgr
7.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain adjacent-network position on target VLAN
  2. Delivery
    Stand up rogue DHCP server
  3. Exploit
    Craft malicious root-path/next-server DHCP option
  4. Install
    Target network-boots and requests DHCP
  5. C2
    Value written unescaped to dhcpopts script
  6. Execute
    Script sourced, command injected
  7. Impact
    Execute arbitrary code as root in initramfs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following concrete conditions: (1) the target's initramfs must be built with dracut's NetworkManager-based initrd network module (modules.d/35network-manager) and must perform DHCP-based network configuration during early boot - this is a non-default setup used for PXE/diskless/iSCSI/NFS-root or remote-unlock scenarios, not typical local-disk boots; (2) the attacker must be positioned on the adjacent network (AV:A - same L2 broadcast domain) to answer the DHCP request, e.g. via a rogue DHCP server; (3) the attacker must supply a malicious DHCP option value in root-path, next-server, or bootfile name containing shell metacharacters; and (4) the attack must land during a boot/reboot event when the vulnerable module processes the lease (AC:H - attacker must win the DHCP race). No authentication or user interaction is required (PR:N/UI:N). Limiting factors that reduce real-world risk: adjacency requirement, dependence on the non-default network-initrd configuration, and the timing constraint tied to system boot.

Impact

The supplied CVSS 3.1 vector (AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, base 7.5) captures the trade-offs well: impact is maximal (full root code execution in the boot environment, C:H/I:H/A:H) and no authentication is required (PR:N), but the attack vector is only Adjacent (AV:A, the attacker must be on the same L2/broadcast segment to answer DHCP) and complexity is High (AC:H, the attacker must win the DHCP race and the target must actually be performing a NetworkManager-based initrd network boot). No EPSS score, KEV listing, or POC was provided in the intelligence, so real-world exploitation pressure appears low and opportunistic rather than mass-scale - consistent with a flaw that requires local network position and a specific, non-default boot configuration. This is a genuine high-severity issue for network-boot / diskless / PXE-style fleets but a low practical priority for typical single-host desktops or servers that boot from local disk without initrd DHCP. Note the scope is marked Unchanged (S:U) even though code runs as root in initramfs; this is defensible since the compromised component and impacted component are the same security authority.

Exploit ScenarioDerived

An attacker with a foothold on the same network segment (e.g. a compromised host or rogue device in a data-center VLAN) runs a rogue DHCP server that responds to a target machine's boot-time DHCP request with a root-path or next-server value containing shell metacharacters. When the target's NetworkManager initrd module writes that value into /tmp/dhclient.<iface>.dhcpopts and the file is sourced, the injected command runs as root inside initramfs before the OS boots. No public POC is referenced in the intelligence, and the AC:H rating reflects the need to win the DHCP race during a boot event.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

Root command injection in dracut's NetworkManager-based initrd network module allows an adjacent-network attacker to execute arbitrary code inside the initramfs during early boot. By answering a booting system's DHCP request with malicious root-path, next-server, or bootfile-name options, the attacker's payload is written unescaped into a temporary shell script and executed as root before the real OS starts. No public exploit is identified at time of analysis, and the flaw is not on CISA KEV, but a Red Hat advisory (RHSA-2026:26534) and upstream fix commit confirm the issue is real and patched.

RemediationAI

Apply the vendor-released patch for your distribution: on Red Hat systems install the dracut update from RHSA-2026:26534 (https://access.redhat.com/errata/RHSA-2026:26534) and then rebuild the initramfs (e.g. dracut -f / regenerate all initrds) so the corrected 35network-manager module is actually baked into the boot image - patching the package alone is insufficient until initrds are regenerated. The upstream fix is dracut commit e509c638e6 (https://github.com/dracutdevs/dracut/commit/e509c638e6), which adds safe GKeyFile parsing with printf '%q' quoting. Where patching must be deferred, the highest-value compensating control is to avoid or remove the NetworkManager-based initrd network module (rebuild the initramfs without early-boot DHCP networking) for hosts that do not require network boot - trade-off: this breaks PXE/iSCSI/NFS-root and remote-unlock workflows. Additional controls: restrict which DHCP servers clients trust and enforce DHCP snooping / rogue-DHCP protection on access switches to prevent an adjacent attacker from answering boot-time DHCP requests, accepting the operational overhead of switch configuration.

Affected VersionsENISA

Red Hat Enterprise Linux 8 patch: 0:049-244.git20260529.el8_10

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

dracut is the initramfs (early-boot RAM filesystem) generator used across RPM-based Linux distributions such as RHEL, Fedora, and SUSE. The affected component is the 35network-manager module (modules.d/35network-manager/nm-run.sh), which brings up networking in the initrd and processes DHCP lease data that NetworkManager stores as GKeyFile-format state files under /run/NetworkManager. The original code used a sed one-liner to copy DHCP option values (root-path, next-server) into /tmp/dhclient.<ifname>.dhcpopts, a file later sourced as a shell script. Because attacker-controlled DHCP string values were written without shell escaping, this is a classic CWE-78 OS Command Injection: untrusted input crosses into a shell interpretation context. The fix rewrites nm-run.sh to run under bash and introduces kf_get_string/kf_unescape/kf_parse helpers that use printf '%q' to safely quote values before they are emitted, plus adds bash as a module dependency.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.5 HIGH
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Adjacent DHCP position (AV:A) and boot-time race plus non-default network-initrd requirement (AC:H); no auth (PR:N) but full root code execution in initramfs yields C:H/I:H/A:H.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Linux systems using dracut are vulnerable to remote root compromise through malicious DHCP responses (CVE-2026-16445), allowing attackers to inject code during boot before the operating system fully starts. This affects the entire organization's Linux infrastructure and could enable undetected compromise at the most privileged level. Urgent assessment and patching are required to prevent attackers from establishing persistent boot-level access.

Business Impact: Severe
Compensating Controls

Implement DHCP snooping and MAC address filtering on network switches; restrict DHCP server access to authorized infrastructure only; switch affected systems to static IP configuration where operationally feasible; monitor network traffic for suspicious DHCP root-path, next-server, or bootfile-name options; restrict physical network access to systems in boot mode.

Threat Intelligence Overview

EPSS Score
1.0%
Top 41% exploitable
Prevalence
High
dracut is the default initramfs generator across RHEL, Fedora, and SUSE
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
Very High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected
SLES15-SP6-CHOST-BYOS-Aliyun Affected
SLES15-SP6-CHOST-BYOS-Azure Affected
SLES15-SP6-CHOST-BYOS-EC2 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy