# CVE-2026-140086: lxd: Improper link resolution before file access in lxc image export

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-04
- Aliases: DEBIAN-CVE-2026-140086, UBUNTU-CVE-2026-140086
- Record: https://cvemate.com/vulnerability/CVE-2026-140086 · JSON: https://cvemate.com/vulnerability/CVE-2026-140086/json

## Description

```text
Improper link resolution before file access in the lxc image export command in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows the operator of a malicious public image remote to overwrite files writable by the invoking user, up to executing attacker-chosen commands as that user by replacing a shell startup file, via a one-character remote-supplied image fingerprint that the client accepts with a SHA-256 prefix check and uses as the default export output path, which follows local symlinks planted in the working directory.
```

## Signals

- CVSS: 7.5 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.503%, percentile 44.662%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical lxd: ≥ 4.0, \< 4.0.16 \| ≥ 4.0, \< 5.0.12 \| ≥ 4.0, \< 5.21.10 \| ≥ 4.0, \< 6.10.2
- debian lxd (Debian): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-5jh2-v77p-jr6q>
- <https://security-tracker.debian.org/tracker/CVE-2026-140086>
- <https://ubuntu.com/security/CVE-2026-140086>
- <https://www.cve.org/CVERecord?id=CVE-2026-140086>

---

Data as of 2026-12-05T02:22:03.939Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
