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.
Linux distributions: vendors such as Red Hat, Debian, Ubuntu and SUSE often backport security fixes into older package versions. Check your distribution's own advisory rather than comparing upstream version numbers.
Built only from official records (NVD, the CVE List and CISA). No AI. Always confirm applicability for your exact version and platform in the vendor advisory. NVD record last modified 23 Oct 2026, 19:10 UTC · checked by StraitOfVuln 02 Dec 2026, 20:16 UTC.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N · Attack vector: Network| https://github.com/canonical/lxd/security/advisories/GHSA-9hcm-hxh5-7xxh | Vendor AdvisoryExploit |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Canonical Lxd