← CVE Intelligence

CVE-2026-6893

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

Description (CNA)

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.

Affected (CNA)

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

CWE

CWE-78

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

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.