Quick answers
- Is CVE-2026-87798 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-87798 being exploited in the wild.
- How severe is CVE-2026-87798?
- Medium severity, with a CVSS score of 5.8, published 28 September 2026.
- Which products and versions are affected?
- Canonical LXD 4.0.2 to 4.0.13, 5.0.0 to 5.0.9, 5.1.0 to 5.21.7.
- Is there a fix for CVE-2026-87798?
- A patch was published on 2026-09-25: Fixed in versions 4.0.14, 5.0.10, and 5.21.8 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-87798 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-87798?
- Check whether you run Canonical LXD at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability exists in the recursive file pull feature (sftpRecursivePullFile) which uses SFTP to transfer directories from a VM agent. A compromised agent can return inconsistent Lstat and ReadDir results for the same entry name—reporting it as a symlink first, then as a regular file or directory—causing the client to follow the symlink on subsequent operations. The attack requires root access inside the VM and user interaction (running the pull command), but affects files with operator privileges.
Affected products
- Canonical LXD 4.0.2 to 4.0.13, 5.0.0 to 5.0.9, 5.1.0 to 5.21.7
Timeline
- 2026-09-25: disclosed
- 2026-09-25: patched: Fixed in versions 4.0.14, 5.0.10, and 5.21.8