CVE-2026-87798

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

MEDIUM
5.8
CVSS Score
Published: September 28, 2026 at 01:22 PM UTC
Updated: September 28, 2026 at 05:17 PM UTC
1 product affected across 1 vendorLXD

Using LXD by Canonical?

Get instant alerts when new vulnerabilities affect LXD - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.2 ≤ v < 4.0.145.0.0 ≤ v < 5.0.105.21.0 ≤ v < 5.21.86.0 ≤ v < 6.94.0.25.0.05.21.06.0
Affected range stops below 4.0.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.21.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.9, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.8MEDIUMcanonical
Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card