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.
References
Link | Resource |
---|---|
https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6 | Exploit Vendor Advisory |
https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6 | Exploit Vendor Advisory |
Configurations
Configuration 1 (hide)
AND |
|
History
22 Oct 2025, 15:39
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* |
|
First Time |
Linux linux Kernel
Canonical Linux Canonical lxd |
|
References | () https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6 - Exploit, Vendor Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
02 Oct 2025, 14:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6 - |
02 Oct 2025, 10:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-10-02 10:15
Updated : 2025-10-22 15:39
NVD link : CVE-2025-54287
Mitre link : CVE-2025-54287
CVE.ORG link : CVE-2025-54287
JSON object : View
Products Affected
linux
- linux_kernel
canonical
- lxd
CWE
CWE-1336
Improper Neutralization of Special Elements Used in a Template Engine