CVE-2025-54287
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-54287, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2025-10-02
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-54287. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart