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.
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:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeChanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched 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
- 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.
- Check whether you run Canonical LXD and which version.
- 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 alertsExternal References
Data last checked: Nov 23, 2026 16:15 UTC