Home › Vulnerabilities › Canonical
Six Canonical LXD flaws published together, two rated HIGH for code execution
NVD published six Canonical LXD vulnerabilities as one batch, covering resource exhaustion, access-control bypass and file-handling flaws. The two HIGH-rated records describe a client-side file overwrite and a local root code-execution path, and the records state no exploitation.
What to look into
- 6 vulnerabilities in Canonical LXD: 4 high, 2 medium (CVSS up to 7.5).
- None of them is known to be exploited yet.
- Start with CVE-2026-140086 (7.5 high): Improper link resolution before file access in the lxc image export command in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows the operator of a malicious public image remote to overwrite… An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- 1 of 6 can be attacked over the network without logging in.
- Kinds of flaws: Allocation of Resources Without Limits or Throttling (×2); Improper Link Resolution Before File Access ('Link Following'); Uncontrolled Search Path Element; Incorrect Authorization.
Key points
- Six LXD flaws, with the two highest-rated (7.5 and 7.3) covering client-side file overwrite and local root code execution.
- CVE-2026-140085 is a local privilege escalation in LXD 6.10 before 6.10.2 via the run-host wrapper and /tmp.
- Two 7.1 denial-of-service flaws allow memory exhaustion through migration messages and upload requests.
- No record states that any of these flaws is being exploited.
Flaw types
The batch contains six NVD records for Canonical LXD. They fall into three groups: memory exhaustion in the migration protocol and upload endpoints (CVE-2026-127159 and CVE-2026-127155, both rated 7.1), access-control and isolation problems (CVE-2026-140084 at 6.5 and CVE-2026-127156 at 6.5), and two file-handling flaws rated HIGH (CVE-2026-140086 at 7.5 and CVE-2026-140085 at 7.3).
Most severe
CVE-2026-140086 affects the lxc image export command. According to the record, the client follows local symlinks in the working directory and uses a remote-supplied image fingerprint as the default output path. An operator of a malicious public image remote could therefore overwrite files the invoking user can write, potentially reaching command execution by replacing a shell startup file.
CVE-2026-140085 affects the run-host wrapper. The record says a local user who places a Python per-user site directory under the world-writable /tmp can have the root-run pro client import it when the LXD daemon next starts, which would execute code as root. It applies to LXD 6.10 before 6.10.2.
Other issues
The two denial-of-service flaws come from reading oversized migration messages and upload requests fully into memory without size limits. The records say a daemon crash would affect all projects. CVE-2026-140084 concerns LXD 5.21.0 through 5.21.9: a user with create rights in one project can create resources in the default project when the features flag is disabled, and the record describes root code execution on the host through a dnsmasq setting. CVE-2026-127156 lets a project-scoped tenant with image and instance permissions reach host block devices through a crafted container image.
Who is affected
Several records name fixed releases: 4.0.16, 5.0.12, 5.21.10 and 6.10.2 for the image export and image unpacking flaws, and 6.10.2 for the other 6.10-series flaws. The CVE-2026-140084 record names an affected range but no fixed version. The records state no in-the-wild exploitation, and no detection or workaround guidance is given.
What to do
- Upgrade to the fixed release named for your branch: 6.10.2 for 6.10, 5.21.10 for 5.21, 5.0.12 for 5.0 and 4.0.16 for 4.0.
- Prioritise CVE-2026-140085 and CVE-2026-140086 on hosts that run LXD client or daemon tasks as described in their records.
- Treat LXD 5.21.0 through 5.21.9 as affected by CVE-2026-140084, since its record names no fixed version.
The 6 vulnerabilities
- CVE-2026-140086 7.5 Improper link resolution before file access in the lxc image export command in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows the operator of a malicious public image remote to overwrite files writable by the invoking user, up…
- CVE-2026-140085 7.3 Uncontrolled search path element in the run-host command wrapper in Canonical LXD 6.10 before 6.10.2 allows any local user to execute arbitrary code as root via a Python per-user site directory planted under the host's world-writable /tmp,…
- CVE-2026-127159 7.1 Uncontrolled resource consumption in the migration protocol of Canonical LXD before 6.10.2 allows an authenticated attacker with migration permissions to exhaust host memory, crash the LXD daemon, and cause a denial of service across all p…
- CVE-2026-127155 7.1 Uncontrolled resource consumption in the upload API endpoints of Canonical LXD before 6.10.2 allows an authenticated attacker with instance creation or file upload permissions to exhaust host memory and cause a denial of service across all…
- CVE-2026-140084 6.5 Incorrect authorization in the resource-creation endpoints in Canonical LXD 5.21.0 through 5.21.9 allows an authenticated fine-grained authorization (OpenFGA) user holding a create entitlement on a project to create resources in the unrest…
- CVE-2026-127156 6.5 Improper access control in image unpacking in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows a project-scoped tenant with image and instance permissions to read and modify the host's block devices, compromising the host and th…
Frequently asked questions
How many Canonical LXD vulnerabilities were published on December 1, 2026?
6 vulnerabilities: 4 high, 2 medium, with CVSS scores up to 7.5.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-140086 (CVSS 7.5): Improper link resolution before file access in the lxc image export command in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows the operator of a malicious public image remote to overwrite…