Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2026-87798

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

Medium5.8EPSS 0.19%
Published
Updated
Reserved
Assigned by
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.

Scores

CVSS scores of CVE-2026-87798, by who scored it
Scored byCVSSScoreVector
canonicalCNA (assigner)3.1Medium5.8CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
NVDNVD · Deferred3.1Medium5.8CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
EPSS (exploitation in 30 days)
0.19% · top 91% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.

Weakness

Affected products

  • Canonical · LXD

    • affected 4.0.2 – < 4.0.14
    • affected 5.0.0 – < 5.0.10
    • affected 5.21.0 – < 5.21.8
    • affected 6.0 – < 6.9

What to do

Solution: Upgrade to LXD versions 4.0.14, 5.0.10, 5.21.8 or later.

References (1)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2026-87798 badge
[![CVE-2026-87798](https://trackcve.app/badge/CVE-2026-87798.svg)](https://trackcve.app/cve/CVE-2026-87798)

Record last updated .