CVE-2026-6893Dracut: dracut: root code execution via dhcp options command injection
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | dracut | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | dracut | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-6893 | |
| Ubuntu 24.04 | dracut | Fixed | 060+5-1ubuntu3.4 | UBUNTU-CVE-2026-6893 |
| Ubuntu 22.04 | dracut | Fix pending | 051-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-6893 |
| Ubuntu 20.04 | dracut | Fix pending | 048+80-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-6893 |
| Ubuntu 18.04 | dracut | Fix pending | 047-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-6893 |
| Ubuntu 16.04 | dracut | Fix pending | 044+3-3ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-6893 |
| Debian 14 | dracut | Fixed | 112-1 | DEBIAN-CVE-2026-6893 |
| Debian 13 | dracut | Fix pending | DEBIAN-CVE-2026-6893 | |
| Debian 12 | dracut | Fix pending | DEBIAN-CVE-2026-6893 | |
| Red Hat Enterprise Linux 10 | dracut | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-caps | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-config-generic | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-config-rescue | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-live | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-network | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-squash | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 10 | dracut-tools | Fixed | 0:107-7.el10_2 | RHSA-2026:26532 |
| Red Hat Enterprise Linux 9 | dracut | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-caps | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-config-generic | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-config-rescue | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-live | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-network | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-squash | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 9 | dracut-tools | Fixed | 0:057-115.git20260527.el9_8 | RHSA-2026:26533 |
| Red Hat Enterprise Linux 8 | dracut | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-caps | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-config-generic | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-config-rescue | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-live | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-network | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-squash | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| Red Hat Enterprise Linux 8 | dracut-tools | Fixed | 0:049-244.git20260529.el8_10 | RHSA-2026:26534 |
| AlmaLinux 10 | dracut | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-caps | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-config-generic | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-config-rescue | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-live | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-network | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-squash | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 10 | dracut-tools | Fixed | 107-7.el10_2 | ALSA-2026:26532 |
| AlmaLinux 9 | dracut | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-caps | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-config-generic | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-config-rescue | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-live | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-network | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-squash | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 9 | dracut-tools | Fixed | 057-115.git20260527.el9_8 | ALSA-2026:26533 |
| AlmaLinux 8 | dracut | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-caps | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-config-generic | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-config-rescue | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-live | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-network | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-squash | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| AlmaLinux 8 | dracut-tools | Fixed | 049-244.git20260529.el8_10 | ALSA-2026:26534 |
| Rocky Linux 10 | dracut | Fixed | 0:107-7.el10_2 | RLSA-2026:26532 |
| Rocky Linux 9 | dracut | Fixed | 0:057-115.git20260527.el9_8 | RLSA-2026:26533 |
| Rocky Linux 8 | dracut | Fixed | 0:049-244.git20260529.el8_10 | RLSA-2026:26534 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9
Workaround: 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.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:26532 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:26533 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:26534 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:26713 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:57580 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:57772 (vendor-advisory)
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/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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.