CVE-2025-54287
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-02

Last updated on: 2025-10-22

Assigner: Canonical Ltd.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-02
Last Modified
2025-10-22
Generated
2026-05-07
AI Q&A
2025-10-02
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
canonical lxd From 4.0.0 (inc) to 5.21.4 (exc)
canonical lxd From 6.1 (inc) to 6.5 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1336 The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a Template Injection issue in the instance snapshot creation component of Canonical LXD versions 4.0 and above. It allows an attacker who has instance configuration permissions to read arbitrary files on the host system by using specially crafted snapshot pattern templates that exploit the Pongo2 template engine.


How can this vulnerability impact me? :

An attacker with instance configuration permissions can exploit this vulnerability to read arbitrary files on the host system. This could lead to unauthorized access to sensitive information stored on the host, potentially compromising system security and confidentiality.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart