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.
Published: 2026-08-07
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An injection vulnerability in libvirt's network XML parser allows newline characters to be inserted into DNS TXT and SRV record values, which are then written verbatim into dnsmasq’s configuration file, enabling an attacker who can define or modify virtual networks to inject arbitrary dnsmasq directives such as dhcp-script and obtain root command execution. This flaw corresponds to CWE‑93 and permits arbitrary command execution when the attacker has permission to create or alter virtual network definitions.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux releases 6, 7, 8, 9, 10 and Red Hat Enterprise Linux for NVIDIA 26; it resides in libvirt’s virtual network driver and is present in all versions of these distributions that include libvirt.

Risk and Exploitability

The CVSS base score is 2.3, indicating low severity, and EPSS is not available; the flaw is not listed in CISA KEV. The attack requires the ability to edit virtual network definitions, which is typically restricted to privileged users, so the risk is moderate for environments where non‑privileged users can create or alter network configurations. No official workaround exists, and a patch is not yet available, so mitigation relies on restricting network definition rights and monitoring for unauthorized dnsmasq configuration changes until an updated libvirt release is deployed.

Generated by OpenCVE AI on August 7, 2026 at 15:35 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


OpenCVE Recommended Actions

  • Limit privileges for creating or editing virtual network definitions to trusted administrators only.
  • Disable or monitor dnsmasq configuration directives by removing harmful options from libvirt network XML or using alternative DNS solutions.
  • Apply an updated libvirt package from Red Hat once a fix is released.

Generated by OpenCVE AI on August 7, 2026 at 15:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 08 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Libvirt
Libvirt libvirt
Redhat enterprise Linux For Nvidia 26
Vendors & Products Libvirt
Libvirt libvirt
Redhat enterprise Linux For Nvidia 26

Sat, 08 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Fri, 07 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection
First Time appeared Redhat
Redhat enterprise Linux
Redhat enterprise Linux Nvidia
Weaknesses CWE-93
CPEs cpe:/a:redhat:enterprise_linux_nvidia:
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat enterprise Linux Nvidia
References
Metrics cvssV3_1

{'score': 2.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Libvirt Libvirt
Redhat Enterprise Linux Enterprise Linux For Nvidia 26 Enterprise Linux Nvidia
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-07T18:21:52.947Z

Reserved: 2026-07-09T16:18:42.859Z

Link: CVE-2026-61477

cve-icon Vulnrichment

Updated: 2026-08-07T18:21:48.858Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-07T14:17:00.187

Modified: 2026-08-14T19:07:46.080

Link: CVE-2026-61477

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-06T14:16:37Z

Links: CVE-2026-61477 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-08T20:53:09Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')