High severityNVD Advisory· Published Oct 2, 2025· Updated Oct 2, 2025
Arbitrary File Read via Template Injection in Snapshot Patterns
CVE-2025-54287
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/lxc/lxdGo | >= 4.0.0, < 5.21.4 | 5.21.4 |
github.com/lxc/lxdGo | >= 6.0.0, < 6.5.0 | 6.5.0 |
github.com/lxc/lxdGo | >= 0.0.0-20200331193331-03aab09f5b5c, < 0.0.0-20250827065555-0494f5d47e41 | 0.0.0-20250827065555-0494f5d47e41 |
Affected products
3- ghsa-coords2 versions
>= 4.0.0, < 5.21.4+ 1 more
- (no CPE)range: >= 4.0.0, < 5.21.4
- (no CPE)range: < 0.0.20251105T184115-1.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.