CVE-2025-54287
Canonical LXD Arbitrary File Read via Template Injection in Snapshot Patterns in github.com/lxc/lxd
6.5
MEDIUM
CVSS 3.1
EPSS 0.34%
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.
How to fix CVE-2025-54287
To remediate CVE-2025-54287, upgrade the affected package to a fixed version below.
- —upgrade to 6.0.4-2+deb13u1 or later
- —no fix listed
Is CVE-2025-54287 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 6.0.4-2+deb13u1
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |