CVE-2026-87798

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.

Affected Software

VendorProductVersion RangeStatus
CanonicalLXD4.0.2 < 4.0.14affected
CanonicalLXD5.0.0 < 5.0.10affected
CanonicalLXD5.21.0 < 5.21.8affected
CanonicalLXD6.0 < 6.9affected

Weaknesses

  • CWE-59: CWE-59 Improper link resolution before file access ('link following')

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References