CVE-2026-16445: Dracut: dracut: root code execution via dhcp options command injection in networkmanager initrd module

Published Jul 21, 2026
·
Updated

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.

Other sources

A flaw was found in dracut. The NetworkManager-based initrd network module (modules.d/35network-manager/nm-run.sh) reads DHCP lease values (root-path, next-server, dhcp-bootfile) from a NetworkManager device state file and writes them into a temporary file (/tmp/dhclient.<ifname>.dhcpopts) without escaping shell metacharacters. This file is later sourced as shell code during network-root boot handling (for example, NFS-root configurations). A DHCP server reachable on the same network segment as a booting host can supply a root-path, next-server, or dhcp-bootfile option value containing shell metacharacters, which are copied verbatim into the sourced file and executed as root in the initramfs when the file is sourced. Exploitation requires an initramfs built with dracut's network-manager module, configured to boot with a DHCP-derived netroot. This is a distinct code path from CVE-2026-6893, which affects dracut's network-legacy module (dhclient-script.sh). The fix escapes DHCP-derived values using shell-safe quoting before writing them to the generated file, consistent with the approach already used in later dracut versions.

— Red Hat

Affected Software

5 affected componentsFixes available
Red Hat dracut
debian/dracut*
debian/dracut*
debian/dracut<112-1
112-1
debian/dracut<=059-4, <=106-6
112-7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/dracut to a version that resolves this vulnerability.

    Fixed in 112-1
  2. Upgrade

    Upgrade debian/dracut to a version that resolves this vulnerability.

    Fixed in 112-7

Event History

Jul 21, 2026
Data Sourced
via Red Hat·08:26 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·12:51 PM
Data Sourced
via MITRE·12:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·01:17 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-16445?

CVE-2026-16445 has a severity rating of high with a score of 7.5.

2

How can I fix CVE-2026-16445?

To mitigate CVE-2026-16445, update dracut to the latest version provided by your Linux distribution.

3

What impact does CVE-2026-16445 have?

CVE-2026-16445 allows remote attackers on an adjacent network to execute arbitrary code on the affected system.

4

Which software is affected by CVE-2026-16445?

The vulnerability affects the dracut software, specifically the NetworkManager-based initrd network module.

5

Can CVE-2026-16445 be exploited remotely?

Yes, CVE-2026-16445 can be exploited by an attacker on an adjacent network through specially crafted DHCP options.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203