CVE-2025-54287
published high CVSS 4.0 · 7.1Arbitrary File Read via Template Injection in Snapshot Patterns
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | LXD6.0 to < 6.5 · 5.21 to < 5.21.4 · Other versions: unaffected | Affected | Not stated | canonical |
| Alpine Linux | edge | incus | Fixed | 6.0.6-r0 | Package fix record |
| Debian | bookworm | lxd | Advisory build | 5.0.2-5+deb12u1 | DSA-6028-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20251105T184115-1.1 | OPENSUSE-SU-2025:15710-1 |
| Alpine Linux | v3.23 | incus | Fixed | 6.0.6-r0 | Package fix record |
| Alpine Linux | v3.24 | incus | Fixed | 6.0.6-r0 | Package fix record |
| Debian | trixie | incus | Advisory build | 6.0.4-2+deb13u1 | DSA-6027-1 |
| Debian | trixie | lxd | Advisory build | 5.0.2+git20231211.1364ae4-9+deb13u1 | DSA-6028-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20251105T184115-1.1 | OPENSUSE-SU-2025:15710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20251105T184115-1.1 | OPENSUSE-SU-2025:15710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20251105T184115-1.1 | OPENSUSE-SU-2025:15710-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- canonical · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | LXD | 6.0 to < 6.5 (affected · semver)5.21 to < 5.21.4 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
1Provider assertions
2canonical · cna
Arbitrary File Read via Template Injection in Snapshot Patterns
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bc0b814e5453c2c6ddbb9c5322792289bc416d20f2d627f42d976f31285adb65
- Ingested
- 23 Sep 2026, 08:53:04 UTC
- Source record
- Official CVE record