[ CVE-2026-28385 · Published 26 Jun 2026 ]
LXD: SSRF via image import from URL allows internal network probing by authenticated users
[ Description ]Official 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.
[ Fixes ]How to fix it
- github.com/canonical/lxd 0.0.0-20261005133302-c4a919f3f4e2Fixed version · GitHub Advisories · go package github.com/canonical/lxd: upgrade to 0.0.0-20261005133302-c4a919f3f4e2 or later (affected < 0.0.0-20261005133302-c4a919f3f4e2)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
Fixed versions
- Canonical lxd: upgrade to 6.10 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
[ Packages ]Affected open-source packages
- github.com/canonical/lxd goAffected < 0.0.0-20261005133302-c4a919f3f4e2 · fixed in 0.0.0-20261005133302-c4a919f3f4e2 · GHSA-3gq2-x4qg-p4g6
[ References ]References
- github.com/canonical/lxd/security/advisories/GHSA-3gq2-x4qg-p4g6vdb-entryvendor-advisory
- github.com/canonical/lxd/pull/18462patchissue-tracking