CVE-2025-54287

unknown
Published 2025-10-02 ยท Modified 2025-11-05
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
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 with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianforkyfixed6.0.5-1
debian debiansidfixed6.0.5-1
debian debiantrixiefixed6.0.4-2+deb13u1
debian debianbookwormfixed5.0.2-5+deb12u1

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/lxc/lxd>=4.0.0,<5.21.45.21.4
golang Gogithub.com/lxc/lxd>=6.0.0,<6.5.06.5.0
golang Gogithub.com/lxc/lxd>=0.0.0-20200331193331-03aab09f5b5c,<0.0.0-20250827065555-0494f5d47e410.0.0-20250827065555-0494f5d47e41
golang Gogithub.com/lxc/lxd
golang Gogithub.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.