{"id":"CVE-2026-15816","aliases":["CVE-2026-15816"],"related":[],"kind":"vulnerability","state":"published","title":"Dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-07T10:33:33.612Z","modified":"2026-11-02T10:42:37.456Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:107-9.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"dracut","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:105-4.el10_0.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.0 Extended Update Support","package":"dracut","cpe":"cpe:/o:redhat:enterprise_linux_eus:10.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:004-413.el6_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION","package":"dracut","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:004-414.el6_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION","package":"dracut","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:033-577.el7_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7 Extended Lifecycle Support","package":"dracut","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-246.git20260728.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"dracut","cpe":"cpe:/o:redhat:enterprise_linux:8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-138.git20220131.el8_4.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"dracut","cpe":"cpe:/o:redhat:rhel_aus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-138.git20220131.el8_4.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","package":"dracut","cpe":"cpe:/o:redhat:rhel_aus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-203.git20220511.el8_6.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","package":"dracut","cpe":"cpe:/o:redhat:rhel_aus:8.6::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-203.git20220511.el8_6.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On","package":"dracut","cpe":"cpe:/o:redhat:rhel_aus:8.6::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-223.git20230119.el8_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Telecommunications Update Service","package":"dracut","cpe":"cpe:/o:redhat:rhel_e4s:8.8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:049-223.git20230119.el8_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","package":"dracut","cpe":"cpe:/o:redhat:rhel_e4s:8.8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:057-120.git20260728.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"dracut","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:057-120.git20260728.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"dracut","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:057-25.git20250717.el9_2.2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","package":"dracut","cpe":"cpe:/a:redhat:rhel_e4s:9.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:057-54.git20250423.el9_4.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","package":"dracut","cpe":"cpe:/a:redhat:rhel_e4s:9.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:057-89.git20250311.el9_6.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.6 Extended Update Support","package":"dracut","cpe":"cpe:/a:redhat:rhel_eus:9.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"412.86.202610250235-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4.12::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"413.92.202609080414-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.13::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"414.92.202609011250-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.14::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"415.92.202609140326-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.15","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.15::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"416.94.202609011112-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.16","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.16::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"417.94.202609191027-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.17","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"418.94.202609031320-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"418.94.202609171815-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.19.9.6.202609021231-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.19","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.20.9.6.202608260604-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.20","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.21.9.6.202609021100-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.21","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.21::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.22.9.8.202608251819-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.22.9.8.202609081748-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.22::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"dracut","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:5","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:54571","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54575","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54576","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57580","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57772","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57775","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57785","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60440","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60445","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:61252","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62269","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62409","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62549","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:63041","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:63044","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65839","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65851","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66357","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:67857","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:69118","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:69119","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:70586","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:70615","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74499","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:79114","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:90272","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-15816","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459963","tags":[],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2500889","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dracutdevs/dracut/blob/master/modules.d/40network/netroot.sh","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/dracutdevs/dracut/blob/master/modules.d/99base/dracut-lib.sh","tags":[],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Pavel Valena (Red Hat)."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-07T14:32:54.964Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-15816","url":"https://www.cve.org/CVERecord?id=CVE-2026-15816","licence":"CVE Terms of Use","modified":"2026-11-02T10:42:37.456Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-15816","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15816","licence":"Public domain","modified":"2026-10-30T18:17:28.643Z"}],"updatedAt":"2026-11-25T22:59:31.845Z","epss":{"score":0.00371,"percentile":0.33053,"date":"2026-12-01T12:00:22.000Z"}}