# CVE-2025-54287: incus: Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attacker with instance...

CVE-2025-54287 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2025-54287, released October 2, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-54287
- Priority: Routine
- CVSS: 6.5 (medium)
- EPSS: 0.0038
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 2, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | govulncheck-vulndb opensuse-leap 16.0 | 0.0.20260723T184607-160000.1.1 | [OPENSUSE-SU-2026:21483-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21483-1.md) | Jul 30, 2026 |
| Linux | incus Debian 13.5 (trixie) | 6.0.4-2+deb13u1 | [DEBIAN-CVE-2025-54287](https://patchblox.com/security/data/fix/linux/debian-cve-2025-54287.md) | Oct 2, 2025 |
| Linux | incus Debian 14 | 6.0.5-1 | [DEBIAN-CVE-2025-54287](https://patchblox.com/security/data/fix/linux/debian-cve-2025-54287.md) | Oct 2, 2025 |
| Linux | lxd Debian 13.5 (trixie) | 5.0.2+git20231211.1364ae4-9+deb13u1 | [DEBIAN-CVE-2025-54287](https://patchblox.com/security/data/fix/linux/debian-cve-2025-54287.md) | Oct 2, 2025 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
