{"id":"UBUNTU-CVE-2026-6893","details":"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.","modified":"2026-09-28T22:45:14.399829250Z","published":"2026-06-10T20:17:00Z","related":["USN-8828-1"],"upstream":["CVE-2026-6893"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-6893"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-6893"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459963"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8828-1"}],"affected":[{"package":{"name":"dracut","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dracut?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"044+3-3ubuntu0.1~esm1"}]}],"versions":["043-2","043-4","044+3-1","044+3-2","044+3-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"dracut","binary_version":"044+3-3ubuntu0.1~esm1"},{"binary_name":"dracut-config-generic","binary_version":"044+3-3ubuntu0.1~esm1"},{"binary_name":"dracut-config-rescue","binary_version":"044+3-3ubuntu0.1~esm1"},{"binary_version":"044+3-3ubuntu0.1~esm1","binary_name":"dracut-core"},{"binary_name":"dracut-network","binary_version":"044+3-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6893.json"}},{"package":{"name":"dracut","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/dracut?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"047-2ubuntu0.1~esm1"}]}],"versions":["045+132-1","047-2"],"ecosystem_specific":{"binaries":[{"binary_name":"dracut","binary_version":"047-2ubuntu0.1~esm1"},{"binary_version":"047-2ubuntu0.1~esm1","binary_name":"dracut-config-generic"},{"binary_name":"dracut-config-rescue","binary_version":"047-2ubuntu0.1~esm1"},{"binary_name":"dracut-core","binary_version":"047-2ubuntu0.1~esm1"},{"binary_version":"047-2ubuntu0.1~esm1","binary_name":"dracut-network"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6893.json"}},{"package":{"name":"dracut","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/dracut?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"048+80-2ubuntu0.1~esm1"}]}],"versions":["048+80-2"],"ecosystem_specific":{"binaries":[{"binary_version":"048+80-2ubuntu0.1~esm1","binary_name":"dracut"},{"binary_name":"dracut-config-generic","binary_version":"048+80-2ubuntu0.1~esm1"},{"binary_name":"dracut-config-rescue","binary_version":"048+80-2ubuntu0.1~esm1"},{"binary_name":"dracut-core","binary_version":"048+80-2ubuntu0.1~esm1"},{"binary_name":"dracut-network","binary_version":"048+80-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6893.json"}},{"package":{"name":"dracut","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/dracut?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"051-1ubuntu0.1~esm1"}]}],"versions":["051-1"],"ecosystem_specific":{"binaries":[{"binary_name":"dracut","binary_version":"051-1ubuntu0.1~esm1"},{"binary_name":"dracut-config-generic","binary_version":"051-1ubuntu0.1~esm1"},{"binary_name":"dracut-config-rescue","binary_version":"051-1ubuntu0.1~esm1"},{"binary_version":"051-1ubuntu0.1~esm1","binary_name":"dracut-core"},{"binary_name":"dracut-live","binary_version":"051-1ubuntu0.1~esm1"},{"binary_name":"dracut-network","binary_version":"051-1ubuntu0.1~esm1"},{"binary_version":"051-1ubuntu0.1~esm1","binary_name":"dracut-squash"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6893.json"}},{"package":{"name":"dracut","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/dracut?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"060+5-1ubuntu3.4"}]}],"versions":["059-4ubuntu2","060+5-1ubuntu1","060+5-1ubuntu2","060+5-1ubuntu3","060+5-1ubuntu3.1","060+5-1ubuntu3.2","060+5-1ubuntu3.3"],"ecosystem_specific":{"binaries":[{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-config-generic"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-config-rescue"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-core"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-install"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-live"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-network"},{"binary_version":"060+5-1ubuntu3.4","binary_name":"dracut-squash"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6893.json"}},{"package":{"name":"dracut","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/dracut?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["106-2ubuntu5","107-1ubuntu1","107-1ubuntu3","107-1ubuntu5","108-1ubuntu1","108-2ubuntu1","108-3ubuntu2","108-3ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"dracut","binary_version":"108-3ubuntu3"},{"binary_version":"108-3ubuntu3","binary_name":"dracut-core"},{"binary_name":"dracut-install","binary_version":"108-3ubuntu3"},{"binary_name":"dracut-live","binary_version":"108-3ubuntu3"},{"binary_name":"dracut-network","binary_version":"108-3ubuntu3"},{"binary_version":"108-3ubuntu3","binary_name":"dracut-squash"},{"binary_name":"dracut-test","binary_version":"108-3ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6893.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}