Vulnerabilities

CVE-2025-54287

Medium 6.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-10-02
Last modified
2026-10-12
Assigned by
security@ubuntu.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 27 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Canonical Lxd ≥ 4.0.0, < 5.21.4 Affected
Canonical Lxd ≥ 6.1, < 6.5 Affected
Linux Linux Kernel all versions listed Not affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities