Vulnerability in Linux Kernel
CVE-2025-54287
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 · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (28.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 28.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.000
Affected products
- Linux Kernel
- Canonical Lxd — versions 6.0, 5.21
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6 (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-54287?
- CVE-2025-54287 is a medium-severity vulnerability in Linux Kernel, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 6.5/10. Published 2025-10-02.
- How severe is CVE-2025-54287?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2025-54287 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.