CVE-2026-61477
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.
CSIRTS triage
- What
- Newline injection in network XML DNS TXT/SRV fields allows dnsmasq configuration directive injection.
- Who is affected
- Deployments using libvirt with DNS configuration via XML that processes dnsmasq directives.
- Urgency
- Low severity (CVSS 2.3); requires local access and network configuration privileges to exploit.
- Action
- Apply libvirt patch addressing CVE-2026-61477 or update to a patched version.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch CVE-2026-61477
Get an email if CVE-2026-61477 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.
Exploitation outlook
- Low exploitation risk0.16% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 6% of all EPSS-scored CVEs.
Advisory coverage (2)
External references
Embed the live status
— this badge updates automatically when the KEV or exploit status changes. How to embed it →
[](https://www.csirts.com/cve/CVE-2026-61477)