CVE Watchtower

CVE-2026-87798Canonical LXD Improper Link Resolution Before File Access ('Link Following')

NVDCVSS scored by security@ubuntu.com

Vulnerability Summary

Improper link resolution in the recursive file pull feature of the LXD CLI client in Canonical LXD versions 4.0.2 up to 6.9 (fixed in 4.0.14, 5.0.10 and 5.21.8) on Linux allows an attacker with root access inside a virtual machine to write attacker-controlled files or directory trees to arbitrary paths on the client host, with the operator's privileges. The attacker does this by using a modified lxd-agent that returns inconsistent SFTP directory listings and Lstat results.
Severity Level
MEDIUM(5.8)
Published Date
Sep 28, 2026
Last Modified
Sep 28, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.19%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 v3.1 Base Metrics — Score 5.8 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeChanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Canonical LXD >= 4.0.2 and < 4.0.14
  • Canonical LXD >= 5.0.0 and < 5.0.10
  • Canonical LXD >= 5.21.0 and < 5.21.8
  • Canonical LXD >= 6.0 and < 6.9
Patched Versions
  • Canonical LXD 4.0.14
  • Canonical LXD 5.0.10
  • Canonical LXD 5.21.8
  • Canonical LXD 6.9

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

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

Timeline

  • Sep 28, 2026Published
  • Sep 28, 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-87798. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 23, 2026 16:15 UTC