Bug 2500889 (CVE-2026-15816) - CVE-2026-15816 dracut: dracut: root code execution via unescaped error message written to sourced emergency hook script in die()
Summary: CVE-2026-15816 dracut: dracut: root code execution via unescaped error messag...
Keywords:
Status: NEW
Alias: CVE-2026-15816
Deadline: 2026-08-05
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2512472
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-15 11:44 UTC by OSIDB Bzimport
Modified: 2026-10-08 10:44 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:54571 0 None None None 2026-08-13 14:45:45 UTC
Red Hat Product Errata RHSA-2026:54575 0 None None None 2026-08-13 14:41:51 UTC
Red Hat Product Errata RHSA-2026:54576 0 None None None 2026-08-13 15:28:14 UTC
Red Hat Product Errata RHSA-2026:57580 0 None None None 2026-08-20 16:08:07 UTC
Red Hat Product Errata RHSA-2026:57772 0 None None None 2026-08-20 21:33:54 UTC
Red Hat Product Errata RHSA-2026:57775 0 None None None 2026-08-20 20:39:48 UTC
Red Hat Product Errata RHSA-2026:57785 0 None None None 2026-08-20 20:58:47 UTC
Red Hat Product Errata RHSA-2026:60440 0 None None None 2026-09-01 21:38:45 UTC
Red Hat Product Errata RHSA-2026:60445 0 None None None 2026-09-01 21:46:01 UTC
Red Hat Product Errata RHSA-2026:61252 0 None None None 2026-08-31 03:27:06 UTC
Red Hat Product Errata RHSA-2026:62269 0 None None None 2026-09-01 19:46:50 UTC
Red Hat Product Errata RHSA-2026:62409 0 None None None 2026-09-14 13:30:41 UTC
Red Hat Product Errata RHSA-2026:62549 0 None None None 2026-09-10 08:50:57 UTC
Red Hat Product Errata RHSA-2026:63041 0 None None None 2026-09-08 14:02:39 UTC
Red Hat Product Errata RHSA-2026:63044 0 None None None 2026-09-09 09:23:05 UTC
Red Hat Product Errata RHSA-2026:65839 0 None None None 2026-09-17 17:11:36 UTC
Red Hat Product Errata RHSA-2026:65851 0 None None None 2026-09-17 07:56:43 UTC
Red Hat Product Errata RHSA-2026:66357 0 None None None 2026-09-15 09:19:23 UTC
Red Hat Product Errata RHSA-2026:67857 0 None None None 2026-09-28 01:40:46 UTC
Red Hat Product Errata RHSA-2026:69118 0 None None None 2026-09-21 02:40:39 UTC
Red Hat Product Errata RHSA-2026:69119 0 None None None 2026-09-21 02:47:38 UTC
Red Hat Product Errata RHSA-2026:70586 0 None None None 2026-10-01 12:28:59 UTC
Red Hat Product Errata RHSA-2026:70615 0 None None None 2026-10-01 15:25:19 UTC
Red Hat Product Errata RHSA-2026:74499 0 None None None 2026-10-01 14:18:26 UTC
Red Hat Product Errata RHSA-2026:79114 0 None None None 2026-10-08 10:44:59 UTC

Description OSIDB Bzimport 2026-07-15 11:44:07 UTC
A flaw was found in dracut. The die() function in dracut-lib.sh appends its error message to $hookdir/emergency/01-die.sh using echo "warn dracut: FATAL: \"$*\"", without shell-quoting the message. When the message passed to die() contains DHCP-controlled data -- specifically $netroot, derived from the DHCP ROOT_PATH option via netroot.sh's handler-resolution failure path (die "No handler for netroot type '$netroot'") -- a command-substitution sequence such as $(cmd) embedded in that data survives into the generated 01-die.sh line and executes as root the next time dracut sources the emergency hook directory. This occurs during dracut's standard boot-failure handling: when the netroot handler cannot be resolved, dracut's initqueue-timeout fallback (or, on non-default rd.shell configurations, die() itself) eventually invokes emergency_shell(), which sources every script under $hookdir/emergency/, including the attacker-poisoned 01-die.sh. This is a distinct code path from CVE-2026-6893 (dhclient-script.sh writing unescaped DHCP hostname/route values); CVE-2026-6893's fix does not touch die() and does not remediate this issue. Reproduced directly against die() extracted from shipped dracut RPMs spanning RHEL 6 through RHEL 10 in an isolated sandbox: a crafted netroot value containing $(touch /tmp/marker) created the marker file upon sourcing the generated 01-die.sh, while a clean/benign netroot value round-tripped with identical warning text in every version tested. Replacing the manual echo/quoting with printf '%q' was verified to neutralize the injection while preserving identical warning output for benign input.

Comment 1 errata-xmlrpc 2026-08-13 14:41:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:54575 https://access.redhat.com/errata/RHSA-2026:54575

Comment 2 errata-xmlrpc 2026-08-13 14:45:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:54571 https://access.redhat.com/errata/RHSA-2026:54571

Comment 3 errata-xmlrpc 2026-08-13 15:28:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:54576 https://access.redhat.com/errata/RHSA-2026:54576

Comment 7 errata-xmlrpc 2026-08-20 16:08:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:57580 https://access.redhat.com/errata/RHSA-2026:57580

Comment 8 errata-xmlrpc 2026-08-20 20:39:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:57775 https://access.redhat.com/errata/RHSA-2026:57775

Comment 9 errata-xmlrpc 2026-08-20 20:58:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:57785 https://access.redhat.com/errata/RHSA-2026:57785

Comment 10 errata-xmlrpc 2026-08-20 21:33:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:57772 https://access.redhat.com/errata/RHSA-2026:57772

Comment 11 errata-xmlrpc 2026-08-31 03:27:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:61252 https://access.redhat.com/errata/RHSA-2026:61252

Comment 12 errata-xmlrpc 2026-09-01 19:46:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:62269 https://access.redhat.com/errata/RHSA-2026:62269

Comment 13 errata-xmlrpc 2026-09-01 21:38:43 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:60440 https://access.redhat.com/errata/RHSA-2026:60440

Comment 14 errata-xmlrpc 2026-09-01 21:45:59 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.20

Via RHSA-2026:60445 https://access.redhat.com/errata/RHSA-2026:60445

Comment 15 errata-xmlrpc 2026-09-08 14:02:37 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.21

Via RHSA-2026:63041 https://access.redhat.com/errata/RHSA-2026:63041

Comment 16 errata-xmlrpc 2026-09-09 09:23:03 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.19

Via RHSA-2026:63044 https://access.redhat.com/errata/RHSA-2026:63044

Comment 17 errata-xmlrpc 2026-09-10 08:50:55 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.16

Via RHSA-2026:62549 https://access.redhat.com/errata/RHSA-2026:62549

Comment 18 Jon Orris 2026-09-14 13:30:40 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.14

Via RHSA-2026:62409 https://access.redhat.com/errata/RHSA-2026:62409

Comment 19 Jon Orris 2026-09-15 09:19:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:66357 https://access.redhat.com/errata/RHSA-2026:66357

Comment 20 Jon Orris 2026-09-17 07:56:41 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.18

Via RHSA-2026:65851 https://access.redhat.com/errata/RHSA-2026:65851

Comment 21 Jon Orris 2026-09-17 17:11:34 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.13

Via RHSA-2026:65839 https://access.redhat.com/errata/RHSA-2026:65839

Comment 22 Jon Orris 2026-09-21 02:40:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:69118 https://access.redhat.com/errata/RHSA-2026:69118

Comment 23 Jon Orris 2026-09-21 02:47:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:69119 https://access.redhat.com/errata/RHSA-2026:69119

Comment 24 Jon Orris 2026-09-28 01:40:44 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2026:67857 https://access.redhat.com/errata/RHSA-2026:67857

Comment 25 Jon Orris 2026-10-01 12:28:57 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.17

Via RHSA-2026:70586 https://access.redhat.com/errata/RHSA-2026:70586

Comment 26 Jon Orris 2026-10-01 14:18:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION

Via RHSA-2026:74499 https://access.redhat.com/errata/RHSA-2026:74499

Comment 27 Jon Orris 2026-10-01 15:25:17 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.18

Via RHSA-2026:70615 https://access.redhat.com/errata/RHSA-2026:70615

Comment 30 Jon Orris 2026-10-08 10:44:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION

Via RHSA-2026:79114 https://access.redhat.com/errata/RHSA-2026:79114


Note You need to log in before you can comment on or make changes to this bug.