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

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-08-07T10:33:33.612Z
- Modified: 2026-11-02T10:42:37.456Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- dracut: no versions given (not affected: from 0:107-9.el10_2 before *; from 0:105-4.el10_0.1 before *; from 0:004-413.el6_10 before *; from 0:004-414.el6_10 before *; from 0:033-577.el7_9 before *; from 0:049-246.git20260728.el8_10 before *; from 0:049-138.git20220131.el8_4.1 before *; from 0:049-203.git20220511.el8_6.1 before *; from 0:049-223.git20230119.el8_8.1 before *; from 0:057-120.git20260728.el9_8 before *; from 0:057-25.git20250717.el9_2.2 before *; from 0:057-54.git20250423.el9_4.3 before *)
- openshift/ose-rhel-coreos-8: no versions given (not affected: from 412.86.202610250235-0 before *)
- openshift/ose-rhel-coreos-9: no versions given (not affected: from 413.92.202609080414-0 before *; from 414.92.202609011250-0 before *; from 415.92.202609140326-0 before *; from 416.94.202609011112-0 before *; from 417.94.202609191027-0 before *; from 418.94.202609031320-0 before *; from 418.94.202609171815-0 before *; from 4.19.9.6.202609021231-0 before *; from 4.20.9.6.202608260604-0 before *; from 4.21.9.6.202609021100-0 before *; from 4.22.9.8.202608251819-0 before *; from 4.22.9.8.202609081748-0 before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:54571> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:54575> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:54576> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57580> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57772> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57775> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57785> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60440> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60445> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:61252> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62269> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62409> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62549> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63041> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63044> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65839> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65851> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66357> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67857> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:69118> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:69119> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:70586> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:70615> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74499> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:79114> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:90272> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-15816> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2459963>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2500889> (issue-tracking)
- <https://github.com/dracutdevs/dracut/blob/master/modules.d/40network/netroot.sh>
- <https://github.com/dracutdevs/dracut/blob/master/modules.d/99base/dracut-lib.sh>

## Sources

- CVE List: [CVE-2026-15816](https://www.cve.org/CVERecord?id=CVE-2026-15816), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-15816](https://nvd.nist.gov/vuln/detail/CVE-2026-15816), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-15816 · Whole record: https://cve.day/CVE-2026-15816.json · Rebuilt by cve.day 2026-11-25T22:59:31.845Z
