{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-6893: Dracut: dracut: root code execution via dhcp options command injection","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-6893","status":"final","version":"1","initial_release_date":"2026-06-10T19:49:27.553Z","current_release_date":"2026-06-16T16:55:21.657Z","revision_history":[{"date":"2026-06-10T19:49:27.553Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-6893 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-6893"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-6893"},{"category":"external","summary":"access.redhat.com","url":"https://access.redhat.com/security/cve/CVE-2026-6893"},{"category":"external","summary":"RHBZ#2459963","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459963"}]},"product_tree":{"branches":[{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 10","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 10 *","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 6","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 6 *","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 7","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 7 *","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 8","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 8 *","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 9","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 9 *","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Hardened Images","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Hardened Images *","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_hardened_images:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat OpenShift Container Platform 4","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat OpenShift Container Platform 4 *","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-6893","title":"Dracut: dracut: root code execution via dhcp options command injection","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7"]}]}]}