Medium severity6.5NVD Advisory· Published Oct 2, 2025· Updated Jun 17, 2026
CVE-2025-54287
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
5- ghsa-coords3 versionspkg:golang/github.com/lxc/lxdpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
>= 4.0.0, < 5.21.4+ 2 more
- (no CPE)range: >= 4.0.0, < 5.21.4
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
- (no CPE)range: < 0.0.20251105T184115-1.1
Patches
Vulnerability mechanics
References
4- github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6nvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-w2hg-2v4p-vmh6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54287ghsaADVISORY
- pkg.go.dev/vuln/GO-2025-4004ghsaWEB
News mentions
0No linked articles in our index yet.