Skip to content
OpenAdvisories
High · 7.4 CVE-2025-54289 EUVD-2025-32638GHSA-3g72-chj4-2228GO-2025-3999

Privilege Escalation via WebSocket Connection Hijacking in LXD Operations API

Published Oct 2, 2025 · Updated Feb 26, 2026 · Assigned by canonical

Description

Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read permissions to hijack terminal or console sessions and execute arbitrary commands via WebSocket connection hijacking format

Affected products

VendorProductAffectedFixed
Canonical LXD 6 – < 6.5, 5.21 – < 5.21.4 6.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 incus 6.0.5-1 —
Debian 13 incus 6.0.4-2+deb13u1 DSA-6027-1
Debian 13 lxd No fix yet —
Debian 12 lxd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS lxd No fix yet —
Ubuntu Pro 16.04 LTS lxd No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20251105T184115-1.1 openSUSE-SU-2025:15710-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
ReleasePackageFixed inAdvisory
Alpine v3.24 incus 6.0.6-r0 —
Alpine v3.23 incus 6.0.6-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/canonical/lxd >= 4.0, < 5.21.4 5.21.4 GHSA-3g72-chj4-2228
Go github.com/canonical/lxd >= 6.0, < 6.5 6.5 GHSA-3g72-chj4-2228
Go github.com/canonical/lxd >= 0.0.0-20200331193331-03aab09f5b5c, < 0.0.0-20250827065555-0494f5d47e41 0.0.0-20250827065555-0494f5d47e41 GHSA-3g72-chj4-2228
Go github.com/canonical/lxd all versions — GO-2025-3999

Advisories 3

References