CVE-2026-15816

Dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()

HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.47 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

Description

A flaw was found in dracut. The die() error-handling function writes its message into a shell script under the initramfs emergency-hook directory without properly shell-quoting it. When the message contains data derived from the DHCP ROOT_PATH option, an attacker on the adjacent network who controls a rogue DHCP server can inject a command-substitution sequence that executes as root the next time dracut sources its emergency hook scripts during standard boot-failure handling.

Weaknesses (CWE)

  • CWE-78 — Improper Neutralization of Special Elements used in an OS Command

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 7.5CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Red Hat · Red Hat Enterprise Linux 10unaffected 0:107-9.el10_2 < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Supportunaffected 0:105-4.el10_0.1 < *
Red Hat · Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONunaffected 0:004-413.el6_10 < *
Red Hat · Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONunaffected 0:004-414.el6_10 < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:033-577.el7_9 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:049-246.git20260728.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:049-138.git20220131.el8_4.1 < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:049-138.git20220131.el8_4.1 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:049-203.git20220511.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onunaffected 0:049-203.git20220511.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:049-223.git20230119.el8_8.1 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:049-223.git20230119.el8_8.1 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:057-120.git20260728.el9_8 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:057-120.git20260728.el9_8 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:057-25.git20250717.el9_2.2 < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:057-54.git20250423.el9_4.3 < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:057-89.git20250311.el9_6.1 < *
Red Hat · Red Hat OpenShift Container Platform 4.12unaffected 412.86.202610250235-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.13unaffected 413.92.202609080414-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.14unaffected 414.92.202609011250-0 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD