CVE-2026-140086: Canonical LXD Vulnerability

CVE-2026-140086

NVD

Vulnerability Summary

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 to executing attacker-chosen commands as that user by replacing a shell startup file, via a one-character remote-supplied image fingerprint that the client accepts with a SHA-256 prefix check and uses as the default export output path, which follows local symlinks planted in the working directory.
Severity Level
HIGH(7.5)
Published Date
Dec 1, 2026
Last Modified
Dec 4, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.50%Probability
Root Weakness (CWE)
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
CVSS v4.0 Base Metrics — Score 7.5 (HIGH)
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityHigh
Attack RequirementsNone
Privileges RequiredNone
User InteractionActive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • Canonical LXD >= 4.0 and < 4.0.16
  • Canonical LXD >= 4.0 and < 5.0.12
  • Canonical LXD >= 4.0 and < 5.21.10
  • Canonical LXD >= 4.0 and < 6.10.2
Patched Versions
  • Canonical LXD 4.0.16
  • Canonical LXD 5.0.12
  • Canonical LXD 5.21.10
  • Canonical LXD 6.10.2

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Canonical LXD and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 1, 2026Published
  • Dec 4, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Canonical LXD CVEsYou are reading CVE-2026-140086. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 5, 2026 01:35 UTC