Skip to main content
VulnerabilityPublished

CVE-2026-87798: Canonical LXD · Link Following

Affects Canonical LXDSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.8 Medium · fixed in 6.9 : update Canonical LXD when convenient.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.9, 5.21.8, 5.0.10 +1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade Canonical LXD to 6.9, 5.21.8, 5.0.10 or 4.0.14.

Affected software

ProductAffectedFixed in
CanonicalLXDAffected
  • >=6.0 <6.9
Fixed in
  • 6.9
CanonicalLXDAffected
  • >=5.21.0 <5.21.8
Fixed in
  • 5.21.8
CanonicalLXDAffected
  • >=5.0.0 <5.0.10
Fixed in
  • 5.0.10
CanonicalLXDAffected
  • >=4.0.2 <4.0.14
Fixed in
  • 4.0.14
GitHubLXDpkg:github/LXDOther threatsAffected
  • >=4.0.2 <4.0.14
  • >=5.0.0 <5.0.10
  • >=5.21.0 <5.21.8
  • >=6.0 <6.9
Fixed in
  • 4.0.14
  • 5.0.10
  • 5.21.8
  • 6.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade affected LXD CLI client versions to 4.0.14, 5.0.10, 5.21.8, or later where the issue is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed fixed in these versions.

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.

References

Community reviews

Loading reviews…