Path Traversal in Canonical Lxd
CVE-2026-86334
Path traversal in the CLI client image export and copy functionality in Canonical LXD from 4.0.2 before 4.0.14, 5.0.10, 5.21.8, and 6.10 on all platforms allows a remote malicious or machine-in-the-middle image server to overwrite arbitrary local files and execute code on the client system via a crafted Content-Disposition header filename parameter during unified image export or copy operations into a local directory target.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 26.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/canonical/lxd/security/advisories/GHSA-g4cm-f533-78hq (issue-tracking, vendor-advisory)
- github.com/canonical/lxd/pull/18977 (patch)
- github.com/canonical/lxd/pull/18976 (patch)
- github.com/canonical/lxd/pull/18974 (patch)
- github.com/canonical/lxd/pull/18975 (patch)
- github.com/canonical/lxd/pull/18940 (patch)