Home

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.

PUBLISHED Reserved 2025-07-18 | Published 2025-10-02 | Updated 2025-10-02 | Assigner canonical




HIGH: 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

Problem types

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Product status

Default status
unaffected

6.0 before 6.5
affected

5.21 before 5.21.4
affected

Credits

GMO Flatt Security Inc.

References

github.com/...al/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6

cve.org (CVE-2025-54287)

nvd.nist.gov (CVE-2025-54287)

Download JSON