CVE-2026-6893
Dracut: dracut: root code execution via dhcp options command injection
Check your servers for CVE-2026-6893
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-6893 affects dracut, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.6% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 12 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Red Hat Enterprise Linux 10
package
dracut |
unaffected 0:107-7.el10_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
dracut |
unaffected 0:105-4.el10_0.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
package
dracut |
unaffected 0:004-413.el6_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
package
dracut |
unaffected 0:004-414.el6_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
dracut |
unaffected 0:033-577.el7_9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
dracut |
unaffected 0:049-244.git20260529.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
dracut |
unaffected 0:049-138.git20220131.el8_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
dracut |
unaffected 0:049-138.git20220131.el8_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
dracut |
unaffected 0:049-203.git20220511.el8_6.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
package
dracut |
unaffected 0:049-203.git20220511.el8_6.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
dracut |
unaffected 0:049-223.git20230119.el8_8.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
dracut |
unaffected 0:049-223.git20230119.el8_8.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
dracut |
unaffected 0:057-115.git20260527.el9_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
dracut |
unaffected 0:057-115.git20260527.el9_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
dracut |
unaffected 0:057-25.git20250717.el9_2.2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
package
dracut |
unaffected 0:057-54.git20250423.el9_4.3 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
dracut |
unaffected 0:057-89.git20250311.el9_6.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
openshift/ose-rhel-coreos-8 |
unaffected 412.86.202610250235-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
openshift/ose-rhel-coreos-9 |
unaffected 413.92.202609080414-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
openshift/ose-rhel-coreos-9 |
unaffected 414.92.202609011250-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
openshift/ose-rhel-coreos-9 |
unaffected 415.92.202609140326-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
openshift/ose-rhel-coreos-9 |
unaffected 416.94.202609011112-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
openshift/ose-rhel-coreos-9 |
unaffected 417.94.202609191027-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift/ose-rhel-coreos-9 |
unaffected 418.94.202609031320-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift/ose-rhel-coreos-9 |
unaffected 418.94.202609171815-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.19
package
openshift/ose-rhel-coreos-9 |
unaffected 4.19.9.6.202609021231-0 and later
Other versions: affected
|
|
Red Hat Hardened Images
package
dracut-main |
unaffected 109-6.hum1 and later
Other versions: affected
|
Is my server affected?
Find the installed version of dracut and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i dracut
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-6893 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-6893RHEL, Rocky, Alma, Fedora
rpm -q dracut
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-6893Alpine
apk list --installed | grep -i dracutWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-6893
trivy image --scanners vuln IMAGE | grep CVE-2026-6893
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2026:26532 access.redhat.com · vendor advisory
- RHSA-2026:26533 access.redhat.com · vendor advisory
- RHSA-2026:26534 access.redhat.com · vendor advisory
- RHSA-2026:26713 access.redhat.com · vendor advisory
- RHSA-2026:57580 access.redhat.com · vendor advisory
- RHSA-2026:57772 access.redhat.com · vendor advisory
- RHSA-2026:57775 access.redhat.com · vendor advisory
- RHSA-2026:57785 access.redhat.com · vendor advisory
- RHSA-2026:61252 access.redhat.com · vendor advisory
- RHSA-2026:62269 access.redhat.com · vendor advisory
- RHSA-2026:62409 access.redhat.com · vendor advisory
- RHSA-2026:62549 access.redhat.com · vendor advisory
13 more
- RHSA-2026:63044 access.redhat.com · vendor advisory
- RHSA-2026:65839 access.redhat.com · vendor advisory
- RHSA-2026:65851 access.redhat.com · vendor advisory
- RHSA-2026:67857 access.redhat.com · vendor advisory
- RHSA-2026:69118 access.redhat.com · vendor advisory
- RHSA-2026:69119 access.redhat.com · vendor advisory
- RHSA-2026:70586 access.redhat.com · vendor advisory
- RHSA-2026:70615 access.redhat.com · vendor advisory
- RHSA-2026:74499 access.redhat.com · vendor advisory
- RHSA-2026:79114 access.redhat.com · vendor advisory
- RHSA-2026:90272 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-6893 access.redhat.com · vdb entry
- RHBZ#2459963 bugzilla.redhat.com · issue tracking
Other references
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6893.json security.access.redhat.com
Source: the record CVE-2026-6893 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse