Alpine Security Database
ALPINE-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 |
|---|---|---|
| Alpine:v3.23 | incus | All versions before 6.0.6-r0 (fixed in 6.0.6-r0) |
| Alpine:v3.24 | incus | All versions before 6.0.6-r0 (fixed in 6.0.6-r0) |