All vulnerabilities

Servers and applications

CVE-2026-127158

LXD exposes migration websocket secrets to project event listeners, allowing migration hijack

Severity
Medium 5.1
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
5.0.12, 5.21.10, 6.10.2
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Information exposure (CWE-200)Incorrect authorization (CWE-863)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:L
Also known as
GHSA-w75w-3wf7-g5pg
Sources
CVE Program, Project advisories (GitHub)

Description

Reported from https://github.com/lxc/incus/security/advisories/GHSA-h2j8-4crh-vhfc

Instance, volume and snapshot migration operations embed their per-connection websocket secrets in the operation metadata. That metadata is broadcast to every event listener holding view access on the operation's project, and is also returned by operation queries. Unlike exec and console, the migration websocket authorizes a connection on the secret alone, with no binding to the operation's requestor. A client with event-view access to the project can therefore read the secret and connect to an in-flight migration's data channels before the legitimate peer, hijacking the transfer of an instance it may not otherwise read.

The migration source/sink renders its per-connection secrets into the operation metadata:

That metadata is broadcast on the operation event stream to every listener with can_view_events on the project, while the operation is still Pending:

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

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 5.0 before 5.0.12
  • From 5.0 before 5.21.10
  • From 5.0 before 6.10.2
LXDServers and applications · github:canonical/lxd
  • From 5.0 before 5.0.12

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
PackageDebian releaseStatus
lxd13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-127158 , read in the last 12 hours.

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,861GitHub, 29 Nov 2026
Forks
1,080GitHub, 29 Nov 2026
Latest release
lxd-6.10.2GitHub, 29 Nov 2026
Released
26 Nov 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