CVE-2025-54287
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | forky | fixed | 6.0.5-1 |
| debian | sid | fixed | 6.0.5-1 |
| debian | trixie | fixed | 6.0.4-2+deb13u1 |
| debian | bookworm | fixed | 5.0.2-5+deb12u1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/lxc/lxd | >=4.0.0,<5.21.4 | 5.21.4 |
| Go | github.com/lxc/lxd | >=6.0.0,<6.5.0 | 6.5.0 |
| Go | github.com/lxc/lxd | >=0.0.0-20200331193331-03aab09f5b5c,<0.0.0-20250827065555-0494f5d47e41 | 0.0.0-20250827065555-0494f5d47e41 |
| Go | github.com/lxc/lxd | | |
| Go | github.com/lxc/lxd/v6 | | |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.