PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61477 Red Hat CVE debrief

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.

Vendor
Red Hat
Product
Red Hat Enterprise Linux 10
CVSS
LOW 2.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-07
Original CVE updated
2026-11-06
Advisory published
2026-08-07
Advisory updated
2026-11-06

Who should care

Defenders responsible for managing libvirt and virtual network configurations should assess exposure and prioritize updates. This includes operators managing affected platforms, vulnerability management teams, and security teams responsible for monitoring and mitigating potential threats. Prioritization should be based on the potential impact of the vulnerability on the organization's assets and the likelihood of exploitation.

Why it matters

Defenders should prioritize verifying and updating libvirt to prevent potential command injection and configuration changes. Users with permission to define virtual networks may be able to inject arbitrary dnsmasq configuration directives, leading to elevated privileges.

  • Potential command injection as root
  • Arbitrary dnsmasq configuration changes
  • Elevation of privileges for users with virtual network definition permissions

Technical summary

The network XML parser in libvirt's virtual network driver does not properly sanitize input, allowing users with permission to define virtual networks to inject arbitrary dnsmasq configuration directives. This issue can lead to potential command injection as root and arbitrary dnsmasq configuration changes. The vulnerability is caused by the network XML parser not stripping newline characters from certain attributes, which can be exploited by users with permission to define virtual networks. To prevent potential command injection and configuration changes, defenders should prioritize verifying and updating libvirt.

Defensive priority

Defenders should prioritize verifying and updating libvirt to prevent potential command injection.

Recommended defensive actions

  • Verify libvirt versions and configurations for potential vulnerabilities
  • Update libvirt to the latest version
  • Restrict permissions for defining virtual networks to trusted users
  • Monitor dnsmasq configuration files for suspicious changes
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability allows users with permission to define virtual networks to inject arbitrary dnsmasq configuration directives. The issue is caused by the network XML parser not stripping newline characters from certain attributes.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61477 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-61477

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-61477 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61477

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.