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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat |
| 3.1 | 7.5 High | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat |
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
Red Hat OpenShift Container Platform 4.12Red Hat |
|
Red Hat OpenShift Container Platform 4.13Red Hat |
|
Red Hat OpenShift Container Platform 4.14Red Hat |
|
Red Hat OpenShift Container Platform 4.15Red Hat |
|
Red Hat OpenShift Container Platform 4.16Red Hat |
|
Red Hat OpenShift Container Platform 4.17Red Hat |
|
Red Hat OpenShift Container Platform 4.18Red Hat |
|
Red Hat OpenShift Container Platform 4.18Red Hat |
|
Red Hat OpenShift Container Platform 4.19Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
References
- RHSA-2026:26532vendor-advisory
- RHSA-2026:26533vendor-advisory
- RHSA-2026:26534vendor-advisory
- RHSA-2026:26713vendor-advisory
- RHSA-2026:57580vendor-advisory
- RHSA-2026:57772vendor-advisory
- RHSA-2026:57775vendor-advisory
- RHSA-2026:57785vendor-advisory
- RHSA-2026:61252vendor-advisory
- RHSA-2026:62269vendor-advisory
- RHSA-2026:62409vendor-advisory
- RHSA-2026:62549vendor-advisory
- RHSA-2026:63044vendor-advisory
- RHSA-2026:65839vendor-advisory
- RHSA-2026:65851vendor-advisory
- RHSA-2026:67857vendor-advisory
- RHSA-2026:69118vendor-advisory
- RHSA-2026:69119vendor-advisory
- RHSA-2026:70586vendor-advisory
- RHSA-2026:70615vendor-advisory
- RHSA-2026:74499vendor-advisory
- RHSA-2026:79114vendor-advisory
- RHSA-2026:90272vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-6893vdb-entry
- RHBZ#2459963issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6893.json
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.