CVE-2026-127151

lxd: Guest VM disk disclosure and tampering via unauthenticated abstract unix NBD sockets

Published Nov 26, 2026 CVSS 4.0 · 6.2 Medium EPSS n/a KEV · Not listed
Description
Exposure of resource to wrong sphere in VM disk migration, export, and attach NBD servers in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows an unprivileged local user in the host network namespace to read and modify a guest VM's disk and execute code inside the guest via connecting to abstract Unix sockets while an operation is active.

Analysis

AI-generated

Technical impact

The vulnerability allows an unprivileged local user in the host network namespace to connect to abstract Unix sockets during a disk migration, export, or attach operation. Through this connection the attacker can read the content of a guest VM’s disk, write malicious data onto it and consequently execute code inside the guest system. The ability to modify the disk image directly elevates the impact to potential privilege escalation and persistence within the virtual machine.

Affected Systems

Canonical LXD before 5.0.12, before 5.21.10, and before 6.10.2 are affected. Any instance of these releases running on the host permits local unprivileged users to exploit the flaw, regardless of the guest operating system. The impact applies to all VMs managed by these LXD versions.

Risk and Exploitability

The CVSS score of 6.2 indicates a moderate severity vulnerability. No EPSS value is available, and the issue is not listed in CISA’s KEV catalog, suggesting it has not been widely observed in the wild yet. Exploitation requires local host access and an active NBD operation; thus the attack surface is limited to the host machine and privileged users cannot directly trigger it remotely.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LXD to version 5.0.12 or later, 5.21.10 or later, or 6.10.2 or later to remove the NBD socket flaw
  • Configure the host to restrict creation and access of abstract Unix NBD sockets to privileged users only, ensuring unprivileged accounts cannot bind or connect to the sockets
  • Audit system logs for unexpected NBD socket activity and verify no guest VM disks have been altered during migration or export operations

Generated by OpenCVE AI on November 27, 2026 at 00:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Exposure of resource to wrong sphere in VM disk migration, export, and attach NBD servers in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows an unprivileged local user in the host network namespace to read and modify a guest VM's disk and execute code inside the guest via connecting to abstract Unix sockets while an operation is active.
Title lxd: Guest VM disk disclosure and tampering via unauthenticated abstract unix NBD sockets
Weaknesses CWE-668
References
Metrics cvssV4_0

{'score': 6.2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-668

    Exposure of Resource to Wrong Sphere

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Nov 26, 2026, 11:16 PM
Reserved
Nov 12, 2026, 4:02 PM
Status
Deferred
Published
Nov 27, 2026, 12:16 AM
Modified
Nov 27, 2026, 12:16 AM