CVE-2025-54287

Arbitrary File Read via Template Injection in Snapshot Patterns

State
Published
Severity
7.1 High
Published
Oct 2, 2025
Updated
Oct 2, 2025
Reserved
Jul 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:Ncanonical

Weaknesses

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine

Affected Products

ProductVersions
LXDCanonical
  • 6.0 to before 6.5Affected
  • 5.21 to before 5.21.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.