PoC Monitor
← All CVEs
CVE-2025-54287published 2 Oct 2025 09:16 UTCData: JSON · API

Canonical LXD

Arbitrary File Read via Template Injection in Snapshot Patterns

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-1336
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Canonical LXD
  • >= 6.0, < 6.5
  • >= 5.21, < 5.21.4

Fixed in 6.5, 5.21.4

Mitigation

Upgrade LXD to 6.5 or 5.21.4 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Oct 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.