CVE-2026-135381

lxd: Incorrect permission assignment in transfer sockets, storage paths, and disk mounts

Published Nov 26, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
Incorrect permission assignment for critical resources in rsync transfer sockets, instance storage directories, proxy socket paths, and disk staging mounts in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an unprivileged local user to gain root privileges on the host, read or modify transferred volumes, alter host file permissions, and inject AppArmor rules via connecting to unauthenticated abstract Unix sockets, running setuid binaries, or racing path and mount operations.

Analysis

AI-generated

Technical impact

The vulnerability arises from incorrect permission assignments on critical resources used by LXD, namely rsync transfer sockets, instance storage directories, proxy socket paths, and disk staging mounts. An unprivileged local user can exploit these weaknesses to invoke unauthenticated abstract Unix sockets, execute setuid binaries, or race path and mount operations. Through any of these vectors, the attacker can gain root privileges on the host, read or modify transferred volumes, alter file permissions, and inject malicious AppArmor rules.

Affected Systems

Canonical LXD prior to the following releases: 4.0.16, 5.0.12, 5.21.10, and 6.10.2. Any instances running those versions are impacted; newer releases incorporate the permission patch.

Risk and Exploitability

The conformance score recorded is CVSS 6.3, indicating a moderate severity. No EPSS data is available, making it unclear how frequently this issue has been abused. It is not listed in CISA's KEV catalog. The likely attack surface is local; an attacker with ordinary user privileges can connect to the unauthenticated sockets or trigger setuid binaries to elevate privileges. Once execution is achieved, the attacker can manipulate host files and container content and enforce AppArmor overrides, thus controlling the host environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a fixed LXD release (4.0.16, 5.0.12, 5.21.10, 6.10.2 or any newer version).
  • Restrict write access to rsync transfer sockets, instance storage directories, proxy socket paths, and disk staging mounts so that only privileged users can manipulate these resources; adjust file ownership and permissions accordingly.
  • Remove unnecessary setuid binaries from the LXD environment and enforce strict AppArmor confinement on remaining services that interact with these sockets or directories.

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 Incorrect permission assignment for critical resources in rsync transfer sockets, instance storage directories, proxy socket paths, and disk staging mounts in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an unprivileged local user to gain root privileges on the host, read or modify transferred volumes, alter host file permissions, and inject AppArmor rules via connecting to unauthenticated abstract Unix sockets, running setuid binaries, or racing path and mount operations.
Title lxd: Incorrect permission assignment in transfer sockets, storage paths, and disk mounts
Weaknesses CWE-732
References
Metrics cvssV4_0

{'score': 6.3, '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:H'}

Subscriptions

No data.

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

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