Skip to main content
← All vulnerabilities
CVE-2026-87798GHSA-MR8V-HX34-HFVF

LXD client recursive file pull allows directory escape via malicious VM agent

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.14, 5.0.10, 5.21.8, 6.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • LXD

    From 4.0.2 · fixed in 4.0.14; From 5.0.0 · fixed in 5.0.10; From 5.21.0 · fixed in 5.21.8; From 6.0 · fixed in 6.9

References 1

GitHub · canonical/lxd