Skip to content
5.8 Medium

CVE-2026-87798 Improper link resolution in the recursive file pull feature of the LXD CLI client in Canonical LXD versions 4.0.2 up…

Description

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.

Affected products and versions

Product Affected versions Fixed in
LXD 6.0 6.0 → < 6.9 6.9
LXD 5.21 5.21.0 → < 5.21.8 5.21.8
LXD 5.0 5.0.0 → < 5.0.10 5.0.10
LXD 4.0 4.0.2 → < 4.0.14 4.0.14

References

Timeline

  1. Published
  2. Last modified
The 47 CVEs of LXD →
Track this CVE