Home / Canonical / LXD / CVE-2026-87798
CVE-2026-87798: is it exploited, and which versions of Canonical LXD are affected and fixed?
CVE-2026-87798 is a link following (a symlink lets an attacker reach other files) vulnerability in Canonical LXD. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: LXD from 4.0.2 before 4.0.14, LXD from 5.0.0 before 5.0.10, LXD from 5.21.0 before 5.21.8 and 1 more (CVE record by canonical). Fixed in 4.0.14, 5.0.10, 5.21.8 and 6.9 (CVE record by canonical). Severity: Medium (5.8, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-87798?
LXD client recursive file pull allows directory escape via malicious VM agent
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.
From the CVE record by canonical, last updated September 28, 2026, 16:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical | LXD Linux | from 4.0.2 before 4.0.14 from 5.0.0 before 5.0.10 from 5.21.0 before 5.21.8 from 6.0 before 6.9 | 4.0.14, 5.0.10, 5.21.8, 6.9 |
As the CVE record by canonical states it, last updated September 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-87798?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N | canonical |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-87798 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 28, 2026)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 8.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
How do I fix it? (from the CVE record)
Upgrade to LXD versions 4.0.14, 5.0.10, 5.21.8 or later.
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- September 9, 2026
- Published
- September 28, 2026, 13:22 UTC
- CVE record updated
- September 28, 2026, 16:32 UTC by canonical
- NVD
- Deferred, last modified September 28, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect LXD?
- Dec 1, 2026CVE-2026-127156 Canonical LXD: improper access control
- Dec 1, 2026CVE-2026-127155 Canonical LXD: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-127159 Canonical LXD: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140086 Canonical LXD: link following (a symlink lets an attacker reach other files)
- Dec 1, 2026CVE-2026-140085 Canonical LXD: uncontrolled search path (DLL or library hijacking)
- Dec 1, 2026CVE-2026-140084 Canonical LXD: incorrect authorization
- Nov 26, 2026CVE-2026-122225 Canonical LXD: UNIX Symbolic Link (Symlink) Following
- Nov 26, 2026CVE-2026-136976 Canonical LXD: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-87798
Is CVE-2026-87798 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical LXD are affected by CVE-2026-87798?
LXD from 4.0.2 before 4.0.14, LXD from 5.0.0 before 5.0.10, LXD from 5.21.0 before 5.21.8 and LXD from 6.0 before 6.9, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2026-87798?
4.0.14, 5.0.10, 5.21.8 and 6.9, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-87798?
Medium (5.8, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2026-87798?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.