CVE Catalog

CVE-2025-54287

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.37%

29th percentile - higher than 29% of all known CVEs

Summary

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.

Risk Assessment

An attacker with instance configuration permissions can read sensitive files from the host system, potentially leading to disclosure of sensitive data and further privilege escalation. The risk is high due to the ability to read arbitrary files.

Recommendation

Upgrade Canonical LXD to a version that fixes this vulnerability. Additionally, restrict instance configuration permissions and validate snapshot templates.

Other vulnerabilities in Canonical LXD

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS