CVE-2026-87798: canonical lxd Link Following
Vulnerability summary
CVE-2026-87798 is a medium (CVSS 5.8) Link Following vulnerability in canonical lxd. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 7.9% of scored vulnerabilities.
Timeline
- 28-09-2026PublishedVulnerability first disclosed.
- 28-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
- NVDNIST5.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Canonical1 product
- lxd≥ 4.0.2, < 4.0.14 | ≥ 5.0.0, < 5.0.10 | ≥ 5.21.0, < 5.21.8 | ≥ 6.0, < 6.9
Debian1 product
- lxdAll versions (No fix recorded)
Ubuntu1 product
- lxdAll versions (No fix recorded)
3 vendors · 3 products