{"id":"CVE-2026-61477","aliases":["CVE-2026-61477"],"related":[],"kind":"vulnerability","state":"published","title":"Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection","summary":"An injection vulnerability was found in libvirt's virtual network driver. The network XML parser does not strip newline characters from DNS TXT record value attributes and SRV record domain/target attributes. These values are written verbatim into the dnsmasq configuration file generated by the network driver, allowing a user with permission to define virtual networks to inject arbitrary dnsmasq configuration directives such as dhcp-script, leading to arbitrary command execution as root.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An injection vulnerability was found in libvirt's virtual network driver. The network XML parser does not strip newline characters from DNS TXT record value attributes and SRV record domain/target attributes. These values are written verbatim into the dnsmasq configuration file generated by the network driver, allowing a user with permission to define virtual networks to inject arbitrary dnsmasq configuration directives such as dhcp-script, leading to arbitrary command execution as root.","source":"cvelist"}],"published":"2026-08-07T14:09:23.058Z","modified":"2026-11-25T17:17:56.747Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.3,"rating":"LOW"}],"cwes":["CWE-93"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"libvirt","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"libvirt","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"libvirt","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"virt:rhel/libvirt","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libvirt","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux for NVIDIA 26","package":"libvirt","cpe":"cpe:/a:redhat:enterprise_linux_nvidia:","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-61477","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512066","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/libvirt/libvirt/-/commit/3cfc77963b512d809348fca07f97fe924fac9a05","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-07T18:21:41.909Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61477","url":"https://www.cve.org/CVERecord?id=CVE-2026-61477","licence":"CVE Terms of Use","modified":"2026-11-25T16:22:48.416Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61477","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61477","licence":"Public domain","modified":"2026-11-25T17:17:56.747Z"}],"updatedAt":"2026-11-25T23:18:10.879Z","epss":{"score":0.00205,"percentile":0.05908,"date":"2026-11-30T12:00:22.000Z"}}