CVE-2025-54287
Last modified
CVE-2025-54287 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Lxd | >= 4.0.0, < 5.21.4 |
| Canonical | Lxd | >= 6.1, < 6.5 |
References
- https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6Exploit, Vendor Advisory
- https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-54287?
How severe is CVE-2025-54287?
How do I fix CVE-2025-54287?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-54280Substance3D - Viewer versions 0.25.2 and earlier are affecte…7.8
- CVE-2025-54281Adobe Framemaker versions 2020.9, 2022.7 and earlier are aff…7.8
- CVE-2025-54282Adobe Framemaker versions 2020.9, 2022.7 and earlier are aff…7.8
- CVE-2025-54283Illustrator versions 29.7, 28.7.9 and earlier are affected b…7.8
- CVE-2025-54284Illustrator versions 29.7, 28.7.9 and earlier are affected b…7.8
- CVE-2025-54286Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD…8.8
- CVE-2025-54288Information Spoofing in devLXD Server in Canonical LXD versi…6.8
- CVE-2025-54289Privilege Escalation in operations API in Canonical LXD <6.5…8.1
- CVE-2025-5429A vulnerability classified as critical was found in juzaweb …6.3
- CVE-2025-54290Information disclosure in image export API in Canonical LXD …5.3
- CVE-2025-54291Information disclosure in images API in Canonical LXD before…5.3
- CVE-2025-54292Path traversal in Canonical LXD LXD-UI versions before 6.5 a…4.6
Are you affected by CVE-2025-54287?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
