CVE-2026-61477
JSON

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 packageVersionsReported by
libvirtNot specifiedCVE List
virt:rhel/libvirtNot specifiedCVE List

Classification

CWE-93

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-61477 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-61477 changed 2026-11-25Public domain