CVE-2026-87798
published medium CVSS 3.1 · 5.8LXD client recursive file pull allows directory escape via malicious VM agent
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | LXD4.0.2 to < 4.0.14 · 5.0.0 to < 5.0.10 · 5.21.0 to < 5.21.8 · 6.0 to < 6.9 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | LXD | 4.0.2 to < 4.0.14 (affected · semver)5.0.0 to < 5.0.10 (affected · semver)5.21.0 to < 5.21.8 (affected · semver)6.0 to < 6.9 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-59 CWE-59 Improper link resolution before file access ('link following')
References
1Provider assertions
2canonical · cna
LXD client recursive file pull allows directory escape via malicious VM agent
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c919f2d2a8d97bf18dc519aac7235e72175f973263ba02be2dc5558d4b06ed9c
- Ingested
- 30 Sep 2026, 15:34:38 UTC
- Source record
- Official CVE record