Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-87798— LXD client recursive file pull allows directory escape via malicious VM agent

Quick assessment

Affected
Canonical LXD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Canonical LXD 4.0.2 至 6.9 版本(已在 4.0.14、5.0.10 和 5.21.8 中修复)中的 LXD CLI 客户端,在 Linux 系统上存在递归文件拉取功能中的链接解析不当问题。这允许在虚拟机内拥有 root 权限的攻击者以操作员(host 用户)的权限,将攻击者控制的文件或目录树写入客户端主机上的任意路径。攻击者通过修改 lxd-agent,使其返回不一致的 SFTP 目录列表和 Lstat 结果来实现此攻击。

CVSS 5.8 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87798

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LXD client recursive file pull allows directory escape via malicious VM agent
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Canonical LXD 4.0.2 ~ 4.0.14 -

II. Public POCs for CVE-2026-87798

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87798

请登录查看更多情报信息。

Other References for CVE-2026-87798 (1)

Same Patch Batch · Canonical · 2026-09-28 · 7 CVEs total

CVE-2026-87799 9.9 CRITICAL Arbitrary file write on LXD host via symlink in migration stream
CVE-2026-85526 9.9 CRITICAL Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipula
CVE-2026-85185 9.6 CRITICAL Path traversal in LXD btrfs storage driver allows arbitrary file deletion and write on hos
CVE-2026-97335 7.7 HIGH Incorrect authorization in LXD storage volume API allows reading volumes from other projec
CVE-2026-86335 6.3 MEDIUM LXD Cross-Project Private Image Theft via Unsanitized GetImageFromAnyProject Local Reuse
CVE-2026-86334 4.2 MEDIUM CLI Path Traversal via Content-Disposition in LXD Image Export/Copy

IV. Related Vulnerabilities

V. Comments for CVE-2026-87798

No comments yet


Leave a comment