cve.bz

CVE-2025-54287

7.1 highEPSS 0.4%

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.

CVSS 4.0
7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 31% of CVEs (scores of 2026-10-25)
CWE
CWE-1336
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w2hg-2v4p-vmh6Gogithub.com/lxc/lxd>=4.0.0 <5.21.45.21.4
GHSA-w2hg-2v4p-vmh6Gogithub.com/lxc/lxd>=6.0.0 <6.5.06.5.0
GHSA-w2hg-2v4p-vmh6Gogithub.com/lxc/lxd>=0.0.0-20200331193331-03aab09f5b5c <0.0.0-20250827065555-0494f5d47e410.0.0-20250827065555-0494f5d47e41
GO-2025-4004Gogithub.com/lxc/lxdall versionsno fix published
GO-2025-4004Gogithub.com/lxc/lxd/v6all versionsno fix published

References

Check your stackJSON