VYPR
High severityNVD Advisory· Published Oct 2, 2025· Updated Oct 2, 2025

Arbitrary File Read via Template Injection in Snapshot Patterns

CVE-2025-54287

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 packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/lxc/lxdGo
>= 4.0.0, < 5.21.45.21.4
github.com/lxc/lxdGo
>= 6.0.0, < 6.5.06.5.0
github.com/lxc/lxdGo
>= 0.0.0-20200331193331-03aab09f5b5c, < 0.0.0-20250827065555-0494f5d47e410.0.0-20250827065555-0494f5d47e41

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.