# CVE-2026-16033: Arbitrary file read+write on host via templates/ symlink in malicious image

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 4.0.12, 5.0.7, 5.0.8 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-12 · Modified: 2026-08-13
- Aliases: UBUNTU-CVE-2026-16033, DEBIAN-CVE-2026-16033
- Record: https://cvemate.com/vulnerability/CVE-2026-16033 · JSON: https://cvemate.com/vulnerability/CVE-2026-16033/json

## Description

```text
A path traversal vulnerability in LXD allows an attacker to achieve arbitrary host file read or unconstrained file creation. When processing image metadata templates, LXD fails to properly sanitize or restrict template file paths from escaping the instance templates directory (specifically affecting virtual machine / QEMU driver execution paths). An attacker can exploit this flaw by providing a crafted image archive with malicious template directives containing path traversal sequences, causing LXD to access or write files outside the intended template directory on the host system.
```

## Signals

- CVSS: 8.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- EPSS: 0.351%, percentile 30.781%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- canonical lxd: ≥ 5.0.0, \< 5.0.8 \| ≥ 4.0.0, \< 4.0.12 \| ≥ 5.0.0, \< 5.0.7
- 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-9hcm-hxh5-7xxh>
- <https://ubuntu.com/security/CVE-2026-16033>
- <https://www.cve.org/CVERecord?id=CVE-2026-16033>
- <https://security-tracker.debian.org/tracker/CVE-2026-16033>

---

Data as of 2026-12-05T14:01:46.686Z. 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
