CVE-2026-87798
LXD client recursive file pull allows directory escape via malicious VM agent
CVSS Score
5.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-59 |
| Vendor | canonical |
| Product | lxd |
| Ecosystems | |
| Industries | Technology |
| Published | Sep 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for canonical lxd
Be the first to know when new medium vulnerabilities affecting canonical lxd are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None
Affected Versions
Canonical / LXD
4.0.2 < 4.0.14 5.0.0 < 5.0.10 5.21.0 < 5.21.8 6.0 < 6.9