CVE-2026-6893

HIGH

Dracut: dracut: root code execution via dhcp options command injection

Title source: cna
STIX 2.1

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.

References (7)

Core 7
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:26533
https://access.redhat.com/errata/RHSA-2026:26533
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:26532
https://access.redhat.com/errata/RHSA-2026:26532
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:26534
https://access.redhat.com/errata/RHSA-2026:26534
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:26713
https://access.redhat.com/errata/RHSA-2026:26713
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-6893
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2459963
https://bugzilla.redhat.com/show_bug.cgi?id=2459963

Scores

CVSS v3 7.5
EPSS 0.0109
EPSS Percentile 62.0%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (11)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 10 0:107-7.el10_2
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 8 0:049-244.git20260529.el8_10
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Enterprise Linux 9 0:057-115.git20260527.el9_8
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat Hardened Images 109-6.hum1
... and 1 more
Published Jun 10, 2026
Tracked Since Jun 11, 2026