---
title: "CVE-2026-140086: Canonical LXD - Command Injection"
description: "Canonical LXD < 4.0.16, 5.0.12, 5.21.10, 6.10.2 contains a command injection caused by improper link resolution in the image export command, letting remote attackers execute arbitrary commands as the invoking user, exploit requires operator to import a malicious public image."
url: https://panop.io/threat-heartbeat/CVE-2026-140086/
---

# CVE-2026-140086 Canonical LXD - Command Injection

Canonical LXD < 4.0.16, 5.0.12, 5.21.10, 6.10.2 contains a command injection caused by improper link resolution in the image export command, letting remote attackers execute arbitrary commands as the invoking user, exploit requires operator to import a malicious public image.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.50% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-140086)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Published

1 December 2026

Updated

3 December 2026

Weakness

[CWE-59](https://cwe.mitre.org/data/definitions/59.html)

## Vendor fix

Upgrade to versions 4.0.16, 5.0.12, 5.21.10, 6.10.2 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-140086](https://nvd.nist.gov/vuln/detail/CVE-2026-140086)
- [https://github.com/canonical/lxd/security/advisories/GHSA-5jh2-v77p-jr6q](https://github.com/canonical/lxd/security/advisories/GHSA-5jh2-v77p-jr6q)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
