---
title: "CVE-2026-87798\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-87798?format=md
keywords: index, follow
---

# CVE-2026-87798

Publication date 29 September 2026

Last updated 30 September 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.8 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2026-87798?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| lxd | 26.04 LTS resolute | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.8 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Changed |
  | Confidentiality impact | None |
  | Integrity impact | High |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.8 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-87798)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-87798)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-87798)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-87798)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-87798>
* <https://github.com/canonical/lxd/security/advisories/GHSA-mr8v-hx34-hfvf>
