Description
In Canonical LXD versions 4.12 through 6.9, a Server-Side Request Forgery (SSRF) vulnerability in the image import functionality allows authenticated users with the can_create_images entitlement to interact with internal network infrastructure via the /images endpoint. When importing an image from a URL source, the LXD daemon fails to validate or restrict outbound destination IP addresses, allowing connections to loopback, RFC1918 private ranges, and cloud metadata endpoints. This enables error-based port scanning and unauthorized interaction with internal HTTP services from the daemon's network position.
Affected products
canonical: lxd
References2
- github.com/canonical/lxd/security/advisories/GHSA-3gq2-x4qg-p4g6 ExploitVendor AdvisoryMitigation
- github.com/canonical/lxd/pull/18462 Issue TrackingPatch
Metrics
- CVSS 3.1
-
5.0
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 20 · as of 16 November 2026
- CWE
- CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.