CVE-2026-6893
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:107-7.el10_2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:049-244.git20260529.el8_10 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:057-115.git20260527.el9_8 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:057-115.git20260527.el9_8 < * | unaffected |
| Red Hat | Red Hat Hardened Images | 109-6.hum1 < * | unaffected |
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Workarounds
To mitigate this issue, ensure that systems configured to obtain network settings via DHCP in the initramfs are only booted on trusted networks. This vulnerability requires an attacker to control a DHCP server on the adjacent network segment. If network configuration via DHCP is not strictly necessary during the initramfs phase, consider using static network configuration.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
dracut: dracut: Root code execution via DHCP options command injection
Additional References
- https://access.redhat.com/security/cve/CVE-2026-6893
- https://bugzilla.redhat.com/show_bug.cgi?id=2459963
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6893.json
- https://access.redhat.com/errata/RHSA-2026:26532
- https://access.redhat.com/errata/RHSA-2026:26533
- https://access.redhat.com/errata/RHSA-2026:26534
- https://access.redhat.com/errata/RHSA-2026:26713
References
- https://access.redhat.com/errata/RHSA-2026:26532
- https://access.redhat.com/errata/RHSA-2026:26533
- https://access.redhat.com/errata/RHSA-2026:26534
- https://access.redhat.com/errata/RHSA-2026:26713
- https://access.redhat.com/security/cve/CVE-2026-6893
- https://bugzilla.redhat.com/show_bug.cgi?id=2459963
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.