CVE-2026-61477

low

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.

References

https://gitlab.com/libvirt/libvirt/-/commit/3cfc77963b512d809348fca07f97fe924fac9a05

https://bugzilla.redhat.com/show_bug.cgi?id=2512066

https://access.redhat.com/security/cve/CVE-2026-61477

Details

Source: Mitre, NVD

Published: 2026-08-07

Updated: 2026-08-14

Risk Information

CVSS v2

Base Score: 1.4

Vector: CVSS2#AV:L/AC:L/Au:M/C:N/I:P/A:N

Severity: Low

CVSS v3

Base Score: 2.3

Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

Severity: Low

EPSS

EPSS: 0.0024