CVE-2026-6893

Dracut: dracut: root code execution via dhcp options command injection

State
Published
Severity
7.5 High
Published
Jun 10, 2026
Updated
Oct 27, 2026
Reserved
Apr 23, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat
3.17.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:107-7.el10_2 and laterNot affected
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat
  • 0:105-4.el10_0.1 and laterNot affected
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat
  • 0:004-413.el6_10 and laterNot affected
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat
  • 0:004-414.el6_10 and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:033-577.el7_9 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:049-244.git20260529.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:049-138.git20220131.el8_4.1 and laterNot affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat
  • 0:049-138.git20220131.el8_4.1 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:049-203.git20220511.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat
  • 0:049-203.git20220511.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat
  • 0:049-223.git20230119.el8_8.1 and laterNot affected
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat
  • 0:049-223.git20230119.el8_8.1 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:057-115.git20260527.el9_8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:057-115.git20260527.el9_8 and laterNot affected
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat
  • 0:057-25.git20250717.el9_2.2 and laterNot affected
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat
  • 0:057-54.git20250423.el9_4.3 and laterNot affected
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat
  • 0:057-89.git20250311.el9_6.1 and laterNot affected
Red Hat OpenShift Container Platform 4.12Red Hat
  • 412.86.202610250235-0 and laterNot affected
Red Hat OpenShift Container Platform 4.13Red Hat
  • 413.92.202609080414-0 and laterNot affected
Red Hat OpenShift Container Platform 4.14Red Hat
  • 414.92.202609011250-0 and laterNot affected
Red Hat OpenShift Container Platform 4.15Red Hat
  • 415.92.202609140326-0 and laterNot affected
Red Hat OpenShift Container Platform 4.16Red Hat
  • 416.94.202609011112-0 and laterNot affected
Red Hat OpenShift Container Platform 4.17Red Hat
  • 417.94.202609191027-0 and laterNot affected
Red Hat OpenShift Container Platform 4.18Red Hat
  • 418.94.202609031320-0 and laterNot affected
Red Hat OpenShift Container Platform 4.18Red Hat
  • 418.94.202609171815-0 and laterNot affected
Red Hat OpenShift Container Platform 4.19Red Hat
  • 4.19.9.6.202609021231-0 and laterNot affected
Red Hat Hardened ImagesRed Hat
  • 109-6.hum1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.