CVE-2025-54287

MEDIUMCVSS 6.5/10EPSS 0.34%

Last modified

CVE-2025-54287 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.34% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
CanonicalLxd>= 4.0.0, < 5.21.4
CanonicalLxd>= 6.1, < 6.5

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2025-54287?
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.
How severe is CVE-2025-54287?
CVE-2025-54287 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 0.34% probability of exploitation in the next 30 days.
How do I fix CVE-2025-54287?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-54287?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST