Debian Security Tracker
DEBIAN-CVE-2025-54287
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:13 | incus | All versions before 6.0.4-2+deb13u1 (fixed in 6.0.4-2+deb13u1) |
| Debian:14 | incus | All versions before 6.0.5-1 (fixed in 6.0.5-1) |
| Debian:12 | lxd | All versions, no fix listed |
| Debian:13 | lxd | All versions before 5.0.2+git20231211.1364ae4-9+deb13u1 (fixed in 5.0.2+git20231211.1364ae4-9+deb13u1) |