Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attacker with instance configuration permissions to read arbitrary files on the host system via specially crafted snapshot pattern templates using the Pongo2 template engine.
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 12 Oct 2026, 15:10 UTC · checked by StraitOfVuln 02 Dec 2026, 19:29 UTC.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network| https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6 | ExploitVendor Advisory |
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