CVE-2025-54287

Name
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security@ubuntu.com https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6

Match rules

CPE URI Source package Min version Max version
lxd >= 6.0 < 6.5
lxd >= 5.21 < 5.21.4
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* lxd >= 4.0.0 < 5.21.4
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* lxd >= 6.1 < 6.5

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
lxd edge-community 5.0.3-r6 Leonardo Arena <larena@alpinelinux.org> possibly vulnerable
lxd edge-community 5.0.3-r7 None possibly vulnerable
lxd edge-community 5.0.3-r8 None possibly vulnerable
lxd edge-community 5.0.3-r9 None possibly vulnerable
lxd 3.22-community 5.0.3-r11 Leonardo Arena <larena@alpinelinux.org> possibly vulnerable