{"id":"GO-2025-4004","summary":"Canonical LXD Arbitrary File Read via Template Injection in Snapshot Patterns in github.com/lxc/lxd","details":"Canonical LXD Arbitrary File Read via Template Injection in Snapshot Patterns in github.com/lxc/lxd","aliases":["CVE-2025-54287","GHSA-w2hg-2v4p-vmh6"],"modified":"2026-03-17T04:53:54.446033Z","published":"2025-11-05T18:41:15Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-4004","review_status":"REVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6"}],"affected":[{"package":{"name":"github.com/lxc/lxd","ecosystem":"Go","purl":"pkg:golang/github.com/lxc/lxd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"custom_ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.21.4"},{"introduced":"4.0.0"},{"introduced":"0.0.0-20200331193331-03aab09f5b5c"},{"fixed":"0.0.0-20250827065555-0494f5d47e41"}]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4004.json"}},{"package":{"name":"github.com/lxc/lxd/v6","ecosystem":"Go","purl":"pkg:golang/github.com/lxc/lxd/v6"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"custom_ranges":[{"events":[{"introduced":"6.0.0"},{"fixed":"6.5.0"}],"type":"ECOSYSTEM"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4004.json"}}],"schema_version":"1.7.5"}