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.
Problem types
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Timeline
| 2026-04-21: | Reported to Red Hat. |
| 2026-06-10: | Made public. |
References
access.redhat.com/security/cve/CVE-2026-6893
bugzilla.redhat.com/show_bug.cgi?id=2459963 (RHBZ#2459963)