Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-87798

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-87798

LXD

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/canonical/lxd",
    "vendor": "Canonical",
    "product": "LXD",
    "versions": [
      {
        "status": "affected",
        "version": "4.0.2",
        "lessThan": "4.0.14",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.0.0",
        "lessThan": "5.0.10",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.21.0",
        "lessThan": "5.21.8",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.0",
        "lessThan": "6.9",
        "versionType": "semver"
      }
    ],
    "platforms": [
      "Linux"
    ],
    "packageName": "LXD",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-87798

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#3210 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement