Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-2253

NIXPKGS-2026-2253
published 13 hours ago
Dracut: dracut: root code execution via dhcp options command injection in networkmanager initrd module
Permalink CVE-2026-16445
7.5 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Adjacent (A)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Adjacent (A)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 13 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Dracut: dracut: root code execution via dhcp options command injection in networkmanager initrd module

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.

Affected products

dracut
  • *

Matching in nixpkgs

pkgs.dracut

Event driven initramfs infrastructure

  • nixos-unstable 111
    • nixpkgs-unstable 111
    • nixos-unstable-small 111
  • nixos-26.05 059
    • nixos-26.05-small 059
    • nixpkgs-26.05-darwin 059

Package maintainers