---
cve: "CVE-2025-54287"
severity: "HIGH"
cvss: 7.1
epss: "34%"
vendor: "Canonical"
kev: false
exploited: false
published: "2025-10-02 10:15:38"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T06:25:01+02:00"
---

# CVE-2025-54287

> 7.1 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- fec3cc832ca782d398c82d38f8532ef9d5be2e00 (Commit)
- 0494f5d47e41af69a8374568c0cb8b3eefd72a6a (Commit)

## Referenzen

- <https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-54287) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
