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

Fri, 03 Oct 2025 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd

Thu, 02 Oct 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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: 2025-10-02T09:16:02.241Z

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

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

Link: CVE-2025-54287

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2025-10-02T19:11:46.753

Link: CVE-2025-54287

cve-icon Redhat

No data.