All vulnerabilities

Servers and applications

CVE-2026-114454

A restricted-project user deletes arbitrary host paths as root through an unencoded `tpm` device name (`tpm.Remove()` misses `PathNameEncode`)

Severity
High 7.2
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
5.0.12, 5.21.10, 6.10.2
Exploit chance
0.7% in the next 30 daysHigher than 48% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Path traversal (CWE-22)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Also known as
GHSA-39g7-pjhx-p454
Sources
CVE Program, Project advisories (GitHub)

Description

LXD lets a project member name a device almost freely. The only validation is shared/validate.IsDeviceName, which enforces a length of 1–63 and a character class that explicitly includes / and . — it rejects only a leading .. Names such as t/../../../../var/tmp/anything are therefore accepted and persisted in the instance's devices map.

Almost every place that turns a device name into a path encodes it with filesystem.PathNameEncode() (which maps / → - and - → --) before joining. tpm.Remove() does not:

filepath.Join cleans the result lexically, so with d.name = "t/../../../../…/var/tmp/x" the path resolves outside d.inst.Path() — and os.RemoveAll then runs as the LXD daemon, i.e. as root, recursively deleting the target. Start/Stop in the same file do encode (lxd/device/tpm.go:101,118,220), which is what makes this a missed call site rather than a design choice.

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

Affected software

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

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