All vulnerabilities

Servers and applications

CVE-2026-135373

Restricted projects can reach host files and host root through disk devices and virtual machine disks

Severity
Medium 6.5
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.5% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Also known as
GHSA-4q9m-c399-26hg
Sources
CVE Program, Project advisories (GitHub)

Description

Reported from Incus. This advisory was copied from the Incus advisory GHSA-4375-qwr5-8vjj.

Disk devices and virtual machine disks offered several ways for a user confined to a project to get at the host.

The path of a disk, unix or TPM device inside a container was accepted with .. components. That path is resolved against the host before the container's root filesystem is entered, so the device ended up mounted outside of the container.

For virtual machines, the format of a disk was guessed from the content of the disk when publishing an instance or exposing it over NBD, and a QCOW2 root disk in an image could refer to a backing file or an external data file. In both cases the QEMU tools, running as root, opened a host path named by the disk content. A directory shared with a virtual machine from a restricted source path was only protected from the guest's root user while raw.idmap was set, which the user can unset.

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

Workarounds

Setting restricted.devices.disk=block, restricted.devices.unix-char=block, restricted.devices.unix-block=block and restricted.virtual-machines.lowlevel=block (the default), together with restricted.devices.disk.paths left empty and no restricted.idmap.* ranges, removes most of the device related vectors. TPM devices can't be blocked by a project restriction, and virtual machine images supplied by the user remain a vector unless virtual machines are denied with limits.virtual-machines=0.

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-135373 , 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