All vulnerabilities

Servers and applications

CVE-2026-136972

Restricted project users can read and write host block devices through a device node in an image's templates directory

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.4% in the next 30 daysHigher than 25% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Exposure of a resource to the wrong sphere (CWE-668)
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-8gf7-9vvc-x36m
Sources
CVE Program, Project advisories (GitHub)

Description

A client restricted to a project (tested with a restricted TLS client certificate) can import an image whose templates/ directory contains a block or character device node. LXD extracts the node into the instance volume as a real device node. The instance template endpoints then open it as root on the host:

  • GET /1.0/instances//metadata/templates?path= returns the contents of the host device the node refers to;
  • POST on the same URL writes the request body to that host device.

The attacker chooses the major/minor numbers, so the restricted user can target any host device by number from inside the restricted project.

This is the LXD counterpart of the issue Incus fixed in v7.6.0 (GHSA-5pgx-q9xx-j3qv, published 2026-10-29: special files, hard links and symlinks in the image or backup metadata area). It is also a gap in the earlier LXD fixes for GHSA-j825-cg34-5fr5 and GHSA-fv82-v4fj-mm4m: CheckMetadataFilesAreRegular checks only metadata.yaml and backup.yaml.

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

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