OS Command Injection Affecting dracut-network package, versions <0:107-7.el10_2


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.1% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX10-DRACUTNETWORK-17372418
  • published18 Jun 2026
  • disclosed17 Jun 2026

Introduced: 17 Jun 2026

NewCVE-2026-6893  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:10 dracut-network to version 0:107-7.el10_2 or higher.
This issue was patched in ALSA-2026:26532.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dracut-network package and not the dracut-network package as distributed by AlmaLinux. See How to fix? for AlmaLinux:10 relevant fixed versions and status.

A flaw was found in dracut. A remote attacker on the adjacent network can exploit this vulnerability by providing specially crafted DHCP (Dynamic Host Configuration Protocol) options, such as a malicious hostname, to a system using dracut's legacy DHCP path. These options are improperly handled and written into temporary shell scripts without proper escaping, leading to command injection. This allows the attacker to achieve root code execution within the initramfs, potentially compromising the system's boot and network behavior.

CVSS Base Scores

version 3.1