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

- Severity: High 8.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-12T20:11:08.781Z
- Modified: 2026-10-23T19:10:00.167Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: canonical

## Description

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.

(As written by CVE List.)

## Affected

- LXD: from 4.0.0 before 4.0.12; from 5.0.0 before 5.0.8
- canonical lxd: from 4.0.0 before 4.0.12; from 5.0.0 before 5.0.7

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-9hcm-hxh5-7xxh> (exploit, vdb-entry, vendor-advisory)

## Sources

- CVE List: [CVE-2026-16033](https://www.cve.org/CVERecord?id=CVE-2026-16033), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-16033](https://nvd.nist.gov/vuln/detail/CVE-2026-16033), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-16033 · Whole record: https://cve.day/CVE-2026-16033.json · Rebuilt by cve.day 2026-11-25T22:59:32.653Z
