Description
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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | LXD | >= 6.0, < 6.5; >= 5.21, < 5.21.4 |
References
- https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6Exploit, Vendor Advisory
- https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6Exploit, Vendor Advisory
Timeline
- Published
- Oct 2, 2025
- Last modified
- Oct 12, 2026
- NVD status
- Analyzed