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% (26th 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% (26th 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-34179 — Critical (CVSS 9.1): In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate…
- CVE-2026-34178 — Critical (CVSS 9.1): In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the…
- CVE-2026-34177 — Critical (CVSS 9.1): Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden…
- CVE-2025-54286 — High (CVSS 8.8): Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD versions >= 5.0 on Linux allows an attacker to create and…
- CVE-2026-12411 — High (CVSS 8.4): Broken Access Control in the devLXDInstancePatchHandler component of Canonical LXD allows an untrusted guest to mount,…
- CVE-2025-54289 — High (CVSS 8.1): Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read…
All CVEs affecting Canonical Lxd →
Other CWE-1336 vulnerabilities
- 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…
- CVE-2026-45312 — Critical (CVSS 9.9): RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In 0.24.0 and earlier, a Jinja2 template…
- CVE-2026-9558 — Critical (CVSS 9.9): A Server-Side Template Injection (SSTI) vulnerability exists in Mautic's theme engine. The platform renders uploaded…
- CVE-2026-33897 — Critical (CVSS 9.9): Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used…
- CVE-2026-1868 — Critical (CVSS 9.9): GitLab has remediated a vulnerability in the Duo Workflow Service component of GitLab AI Gateway affecting all versions…