CVE-2026-6893
Dracut: dracut: root code execution via dhcp options command injection
What happened?
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 and versions
| Software | Version information | Fixed version |
|---|---|---|
| dracutRed Hat | unaffected: 0:107-7.el10_2 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:105-4.el10_0.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:004-413.el6_10 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:004-414.el6_10 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:033-577.el7_9 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-244.git20260529.el8_10 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-138.git20220131.el8_4.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-138.git20220131.el8_4.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-203.git20220511.el8_6.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-203.git20220511.el8_6.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-223.git20230119.el8_8.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:049-223.git20230119.el8_8.1 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:057-115.git20260527.el9_8 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:057-115.git20260527.el9_8 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:057-25.git20250717.el9_2.2 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:057-54.git20250423.el9_4.3 to < * | See vendor advisory |
| dracutRed Hat | unaffected: 0:057-89.git20250311.el9_6.1 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-8Red Hat | unaffected: 412.86.202610250235-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 413.92.202609080414-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 414.92.202609011250-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 415.92.202609140326-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 416.94.202609011112-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 417.94.202609191027-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 418.94.202609031320-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 418.94.202609171815-0 to < * | See vendor advisory |
| openshift/ose-rhel-coreos-9Red Hat | unaffected: 4.19.9.6.202609021231-0 to < * | See vendor advisory |
| dracut-mainRed Hat | unaffected: 109-6.hum1 to < * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-6893
- 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/errata/RHSA-2026:57580
- https://access.redhat.com/errata/RHSA-2026:57772
- https://access.redhat.com/errata/RHSA-2026:57775
- https://access.redhat.com/errata/RHSA-2026:57785
- https://access.redhat.com/errata/RHSA-2026:61252
- https://access.redhat.com/errata/RHSA-2026:62269
- https://access.redhat.com/errata/RHSA-2026:62409
- https://access.redhat.com/errata/RHSA-2026:62549
- https://access.redhat.com/errata/RHSA-2026:63044
- https://access.redhat.com/errata/RHSA-2026:65839
- https://access.redhat.com/errata/RHSA-2026:65851
- https://access.redhat.com/errata/RHSA-2026:67857
- https://access.redhat.com/errata/RHSA-2026:69118
- https://access.redhat.com/errata/RHSA-2026:69119
- https://access.redhat.com/errata/RHSA-2026:70586
- https://access.redhat.com/errata/RHSA-2026:70615
- https://access.redhat.com/errata/RHSA-2026:74499
- https://access.redhat.com/errata/RHSA-2026:79114
- https://access.redhat.com/errata/RHSA-2026:90272
- 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