CVE-2025-54287
CVE-2025-54287 is a medium-severity vulnerability in Canonical Lxd with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1336.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v4: 7.1
- EPSS exploit prediction: 0% (28th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-32636
- Weakness: CWE-1336
- Affected product: Canonical Lxd
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-54287?
- CVE-2025-54287 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-54287 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-54287?
- CVE-2025-54287 affects Canonical Lxd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-54287?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-54287 have an EU (EUVD) identifier?
- Yes. CVE-2025-54287 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-32636.
- When was CVE-2025-54287 published?
- CVE-2025-54287 was published on 2025-10-02 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
More vulnerabilities in Canonical Lxd
- CVE-2026-66897 — Critical (CVSS 9.9): A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit…
- CVE-2026-66898 — Critical (CVSS 9.9): A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and…
- CVE-2026-63300 — Critical (CVSS 9.9): An improper validation vulnerability in the instancePostMigration function in lxd/instance_post.go of LXD allows an…
- CVE-2026-63299 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD allows an authenticated user to bypass project-level disk and volume…
- CVE-2026-63298 — Critical (CVSS 9.9): An improper neutralization of special elements vulnerability in LXD's NVIDIA instance configuration handling allows an…
- CVE-2026-63297 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD due to a timing flaw during configuration merging allows an authenticated…
All CVEs affecting Canonical Lxd →
Other CWE-1336 vulnerabilities
- CVE-2026-97359 — Critical (CVSS 10.0): HFS2 version 2.4.0 and earlier contains a template injection vulnerability in the multipart upload handler that allows…
- CVE-2026-75650 — Critical (CVSS 10.0): Adobe Commerce is affected by an Improper Neutralization of Special Elements Used in a Template Engine vulnerability…
- CVE-2026-48323 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements Used in a Template Engine…
- CVE-2026-44181 — Critical (CVSS 10.0): Jupyter Enterprise Gateway launches remote Jupyter Notebook kernels across distributed clusters like Apache Spark,…
- CVE-2025-53833 — Critical (CVSS 10.0): LaRecipe is an application that allows users to create documentation with Markdown inside a Laravel app. Versions prior…
- CVE-2024-32651 — Critical (CVSS 10.0): changedetection.io is an open source web page change detection, website watcher, restock monitor and notification…