All vulnerabilities

Servers and applications

CVE-2026-28385

SSRF via image import from URL allows internal network probing by authenticated users

Severity
Medium 5.0
Published
26 Jun 2026
Last changed
25 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.10
Exploit chance
0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Also known as
GHSA-3gq2-x4qg-p4g6
Sources
NVD, Project advisories (GitHub)

Description

The LXD image import-from-URL endpoint (POST /1.0/images with source.type=url) makes server-side HTTP requests to an attacker-supplied URL without any private-IP or loopback blocking. An authenticated user with the can_create_images entitlement can force the LXD daemon to connect to internal network addresses (127.0.0.1, RFC1918 ranges, cloud metadata endpoints), enabling port scanning via error-based inference and interaction with internal HTTP services from the daemon's privileged network position.

When a user imports an image from a URL, the imgPostURLInfo function makes an HTTP HEAD request directly to the user-supplied URL with zero validation:

The HTTP client is created via util.HTTPClient which uses shared.RFC3493Dialer — a standard dialer with zero private-IP filtering:

The HTTP client also follows redirects unconditionally:

Errors from the outbound request propagate back to the caller via the operation result:

The error messages differ based on the target's state:

From canonical/lxd's security advisory. Shortened; the full text is there.

Workarounds

In addition to the Image Registries feature in LXD 6.10 to resolve the main issue above we are also introducing a related change in LXD 6.8 to prevent the use of pull migration mode when migrating instances and volumes into restricted projects. In these circumstances one should use push or relay mode.

The documentation has also been updated to cover setting up an HTTP/HTTPS proxy in order to allow policy to be applied to control which remote image URLs can be used.

Workarounds as given by canonical/lxd's security advisory.

Affected software

SoftwareAffected versions
LXDServers and applications · cpe:a:canonical:lxd
  • From 4.12 up to 6.9
LXDServers and applications · github:canonical/lxd
  • From 4.0.0 before 6.10

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,852GitHub, 15 Nov 2026
Forks
1,074GitHub, 15 Nov 2026
Latest release
lxd-6.10.1GitHub, 15 Nov 2026
Released
28 Oct 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-28385
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-28385
  • GitHub Advisory Database https://github.com/advisories/GHSA-3gq2-x4qg-p4g6
  • github.com https://github.com/canonical/lxd/security/advisories/GHSA-3gq2-x4qg-p4g6