Skip to main content
EPSS 0.2%top 94%

An injection vulnerability was found in libvirt's virtual network driver. (CVE-2026-61477)

0
Medium
Published: 08/07/2026 (08/07/2026, 14:17:00 UTC)
Source: GCVE Database
Product: libvirt

Description

An injection vulnerability exists in libvirt's virtual network driver due to improper handling of newline characters in DNS TXT and SRV record attributes. This flaw allows users with permission to define virtual networks to inject arbitrary dnsmasq configuration directives, potentially leading to arbitrary command execution as root. The vulnerability has a medium severity rating with a CVSS score of 2.3. A patch is available to address this issue.

CVSS v3.1

Score 2.3low

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

Affected software

Affected versions
=8.0.0-1ubuntu7.19=10.0.0-2ubuntu8.16

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 16:50:15 UTC

Technical Analysis

CVE-2026-61477 is an injection vulnerability in libvirt's virtual network driver. The network XML parser fails to strip newline characters from DNS TXT record value attributes and SRV record domain/target attributes. These unsanitized values are written directly into the dnsmasq configuration file generated by the network driver. This allows a user with permission to define virtual networks to inject arbitrary dnsmasq configuration directives such as dhcp-script, which can lead to arbitrary command execution with root privileges. The vulnerability is classified under CWE-93 (Improper Neutralization of CRLF Sequences).

Potential Impact

The vulnerability allows an attacker with permission to define virtual networks to inject arbitrary configuration directives into dnsmasq, potentially resulting in arbitrary command execution as root. The CVSS v3.1 base score is 2.3 (medium severity), reflecting local attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, no confidentiality or availability impact, and low integrity impact.

Mitigation Recommendations

A patch is available for this vulnerability. Users are advised to upgrade to fixed versions of libvirt as indicated by their vendor or distribution. No effective mitigation other than patching is currently available or meets Red Hat's criteria for ease of use and applicability. Users should apply the official fixes when they become available to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-f6jp-rhmm-v59g
Osv Schema Version
1.4.0
Aliases
["CVE-2026-61477"]
Database Specific Severity
LOW
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a774333bf8831d539b465c6

Added to database: 08/08/2026, 14:54:43 UTC

Last enriched: 08/20/2026, 16:50:15 UTC

Last updated: 09/22/2026, 13:47:47 UTC

Views: 108

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses