All vulnerabilities

Servers and applications

CVE-2026-136976

Parent-entry traversal in recursive lxc file pull

Severity
High 8.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.9% in the next 30 daysHigher than 59% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Also known as
GHSA-2gw2-jfr3-p874
Sources
CVE Program, Project advisories (GitHub)

Description

An attacker operating a malicious LXD-compatible remote can control the directory entries returned to a victim's lxc file pull --recursive command. Repeated .. entries make the client map a later remote ../.bashrc file to the root of the victim's chosen destination, where the bytes overwrite .bashrc; the demonstrated payload executes as the local CLI user when an interactive Bash starts. The write remains inside the selected destination root, but escapes the requested remote source subtree.

lxc file pull --recursive :/ enters cmdFilePull.run when the remote reports a directory. The client opens the chosen destination with os.OpenRoot and calls recursivePullFile. In that function, the local target is computed as filepath.Join(relDir, filepath.Base(p)), and each server-supplied entry is appended to the remote path with path.Join(p, ent) before recursion. The file branch then opens the computed relative target through root.OpenFile.

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