Medium · published October 2, 2025
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.
| Product | Versions | Fixed in |
|---|---|---|
| canonical/lxd | ≥ 4.0.0, < 5.21.4 | 5.21.4 |
| canonical/lxd | ≥ 6.1, < 6.5 | 6.5 |