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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 02 Oct 2025 09:30:00 +0000

Type Values Removed Values Added
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.
Title Arbitrary File Read via Template Injection in Snapshot Patterns
Weaknesses CWE-1336
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2025-10-02T13:27:42.957Z

Reserved: 2025-07-18T07:59:07.917Z

Link: CVE-2025-54287

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-10-02T10:15:38.707

Modified: 2025-10-02T10:15:38.707

Link: CVE-2025-54287

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.