CVE-2026-61477
2.3low
Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection
- Severity
- 2.3low CVSS:3.1 by redhat
- Exploit likelihood
- 0.21% (higher than 6% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libvirt | Not specified | CVE List |
| virt:rhel/libvirt | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61477 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-61477 changed 2026-11-25 | Public domain |