---
title: "CVE-2026-87798"
canonical_url: "https://pkgseek.com/security/CVE-2026-87798"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-87798

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.

CVE-2026-87798 严重级别为 MEDIUM (5.8)，共索引 6 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.8)
- **受影响构建数**: 6
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | golang-github-canonical-lxd-dev | 5.0.2+git20231211.1364ae4-9+deb13u7 | — |
| Debian | trixie | lxd | 5.0.2+git20231211.1364ae4-9+deb13u7 | — |
| Debian | trixie | lxd-agent | 5.0.2+git20231211.1364ae4-9+deb13u7 | — |
| Debian | trixie | lxd-client | 5.0.2+git20231211.1364ae4-9+deb13u7 | — |
| Debian | trixie | lxd-migrate | 5.0.2+git20231211.1364ae4-9+deb13u7 | — |
| Debian | trixie | lxd-tools | 5.0.2+git20231211.1364ae4-9+deb13u7 | — |
