Skip to main content
← All vulnerabilities
CVE-2026-61477

Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • libvirt

    Version range not reported

  • libvirt

    Version range not reported

  • libvirt

    Version range not reported

  • virt:rhel/libvirt

    Version range not reported

  • libvirt

    Version range not reported

  • libvirt

    Version range not reported

References 3

access.redhat.com

bugzilla.redhat.com

gitlab.com