All vulnerabilities

Servers and applications

CVE-2026-135381

Local users can gain root on the host through transfer sockets, instance directories and disk staging mounts

Severity
Medium 6.3
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
4.0.16, 5.0.12, 5.21.10, 6.10.2
Exploit chance
0.2% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Incorrect permissions on a critical resource (CWE-732)
Attack
Needs local access · Needs a user account · No user action needed
CVSS 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
Also known as
GHSA-fxg7-8r76-78r5
Sources
CVE Program, Project advisories (GitHub)

Description

Reported from Incus. This advisory was copied from the Incus advisory GHSA-p8fx-6xxm-25wh.

Several places where the daemon and its helpers act as root on the host trusted things that a local, unprivileged user controls.

While an instance or volume is transferred with rsync, the sending side waits for its own helper on an abstract unix socket and takes the first connection it gets, without looking at who connected.

Proxy devices that listen on a unix socket on the host set the socket's owner and mode by path after creating it, and the AppArmor profile generated for the proxy resolves both socket paths on the host and writes the result into the profile as is.

The directory holding a container on the storage pool is what keeps local users away from the setuid files inside its root filesystem. Its owner could be set by whoever supplied the container's content, through a migration, an image or a backup.

From canonical/lxd's security advisory. Shortened; the full text is there.

Workarounds

Don't give untrusted local accounts membership of the incus group, and avoid proxy devices with unix sockets in directories that other users can write to.

Mounting the filesystem that holds the Incus directory with nosuid prevents the setuid-based escalations, but containers then lose setuid support too unless they use idmapped mounts on a separate filesystem.

There is no workaround for the transfer socket other than not having untrusted local users on hosts where rsync-based transfers are used (dir, lvm and cross-driver copies).

Workarounds as given by canonical/lxd's security advisory.

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 4.0 before 4.0.16
  • From 4.0 before 5.0.12
  • From 4.0 before 5.21.10
  • From 4.0 before 6.10.2
LXDServers and applications · github:canonical/lxd
  • From 4.0 before 4.0.16

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
PackageDebian releaseStatus
lxd13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-135381 , read in the last 12 hours.

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,861GitHub, 29 Nov 2026
Forks
1,080GitHub, 29 Nov 2026
Latest release
lxd-6.10.2GitHub, 29 Nov 2026
Released
26 Nov 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References