CVEfocus › CVE database › CVE-2026-6893

CVE-2026-6893Dracut: dracut: root code execution via dhcp options command injection

CVSS 7.5 HighEPSS 3.1% (higher than 89% of CVEs)Published 2026-06-10Updated 2026-11-02Assigner: redhat

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.

CWE-78

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

53Fixed
6Fix pending
1Will not fix
1Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dracutNot affected
vulnerable_code_not_present
Ubuntu 25.10dracutWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-6893
Ubuntu 24.04dracutFixed060+5-1ubuntu3.4UBUNTU-CVE-2026-6893
Ubuntu 22.04dracutFix pending051-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-6893
Ubuntu 20.04dracutFix pending048+80-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-6893
Ubuntu 18.04dracutFix pending047-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-6893
Ubuntu 16.04dracutFix pending044+3-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-6893
Debian 14dracutFixed112-1DEBIAN-CVE-2026-6893
Debian 13dracutFix pendingDEBIAN-CVE-2026-6893
Debian 12dracutFix pendingDEBIAN-CVE-2026-6893
Red Hat Enterprise Linux 10dracutFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-capsFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-config-genericFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-config-rescueFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-liveFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-networkFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-squashFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 10dracut-toolsFixed0:107-7.el10_2RHSA-2026:26532
Red Hat Enterprise Linux 9dracutFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-capsFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-config-genericFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-config-rescueFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-liveFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-networkFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-squashFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 9dracut-toolsFixed0:057-115.git20260527.el9_8RHSA-2026:26533
Red Hat Enterprise Linux 8dracutFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-capsFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-config-genericFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-config-rescueFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-liveFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-networkFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-squashFixed0:049-244.git20260529.el8_10RHSA-2026:26534
Red Hat Enterprise Linux 8dracut-toolsFixed0:049-244.git20260529.el8_10RHSA-2026:26534
AlmaLinux 10dracutFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-capsFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-config-genericFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-config-rescueFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-liveFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-networkFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-squashFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 10dracut-toolsFixed107-7.el10_2ALSA-2026:26532
AlmaLinux 9dracutFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-capsFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-config-genericFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-config-rescueFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-liveFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-networkFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-squashFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 9dracut-toolsFixed057-115.git20260527.el9_8ALSA-2026:26533
AlmaLinux 8dracutFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-capsFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-config-genericFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-config-rescueFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-liveFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-networkFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-squashFixed049-244.git20260529.el8_10ALSA-2026:26534
AlmaLinux 8dracut-toolsFixed049-244.git20260529.el8_10ALSA-2026:26534
Rocky Linux 10dracutFixed0:107-7.el10_2RLSA-2026:26532
Rocky Linux 9dracutFixed0:057-115.git20260527.el9_8RLSA-2026:26533
Rocky Linux 8dracutFixed0:049-244.git20260529.el8_10RLSA-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.

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:

References

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.