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.
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
1- Range: 6.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.