{"id":"CVE-2025-54287","revision":"55e3be9e8839485db0f971ebd10e93a1","records":[{"revision":"55e3be9e8839485db0f971ebd10e93a1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-54287","aliases":[],"title":"Arbitrary File Read via Template Injection in Snapshot Patterns","description":"Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attacker with instance configuration \npermissions to read arbitrary files on the host system via specially crafted snapshot pattern templates using the Pongo2 template engine.","state":0,"publishedAt":"2025-10-02T09:16:02.241+00:00","modifiedAt":"2025-10-02T13:27:42.957+00:00","affected":[{"ecosystem":"Vendor product","name":"LXD","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"product\": \"LXD\",\n                    \"repo\": \"https://github.com/canonical/lxd\",\n                    \"vendor\": \"Canonical\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"6.5\",\n                            \"status\": \"affected\",\n                            \"version\": \"6.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"5.21.4\",\n                            \"status\": \"affected\",\n                            \"version\": \"5.21\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.1,"severity":"HIGH"}],"references":["https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-54287","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-54287","identifiers":["CVE-2025-54287"]},"retained":false,"historicalAffected":[]}],"coverage":[]}