All vulnerabilities

Servers and applications

CVE-2026-122225

VM backup config symlink makes the root daemon bind-mount host directories into the guest

Severity
Medium 6.4
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 31% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
CWE-61
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:N
Also known as
GHSA-33c5-5rqh-hpmf
Sources
CVE Program, Project advisories (GitHub)

Description

A tenant allowed to create and start instances in a single project uploads a VM backup in which the config member is a symlink to a host directory. On start the root daemon follows the symlink, writes the VM's agent material into the target as root, chowns the target directory to the unprivileged lxd user, and bind-mounts the target into the VM's config share - served to the guest over virtiofs with an identity idmap (guest root == host root). Pointed at the LXD data directory, the tenant reads server.key/cluster.key and the dqlite database from inside its own VM: the server/cluster TLS identity, i.e. admin on every cluster member.

Line references are to the lxd-5.21.8 release tag.

generateConfigShare does not recreate the config directory: os.MkdirAll(configDrivePath, 0500) (lxd/instance/drivers/driver_qemu.go:2945-2947) stats the final component, which follows a symlink and succeeds when the target is an existing directory, so a planted config symlink survives (a dangling one…

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