Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2025-54287

Arbitrary File Read via Template Injection in Snapshot Patterns

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Canonical LXD

Default version status: unaffected

  • 6.0 to < 6.5affected
  • 5.21 to < 5.21.4affected

References