Vulnerability · Published Oct 2, 2025 · Assigned by canonical

CVE-2025-54289Privilege Escalation via WebSocket Connection Hijacking in LXD Operations API

High 7.4

In plain English

A high-severity security flaw in LXD from Canonical. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.4High
Exploit odds (30 days)0.2%top 88.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23incus6.0.6-r0ALPINE-CVE-2025-54289
Alpine:v3.24incus6.0.6-r0ALPINE-CVE-2025-54289
Debian:13incus6.0.4-2+deb13u1DSA-6027-1
Debian:13incus6.0.4-2+deb13u1DEBIAN-CVE-2025-54289
Debian:14incus6.0.5-1DEBIAN-CVE-2025-54289
Debian:12lxdno fix listedDEBIAN-CVE-2025-54289
Debian:13lxdno fix listedDEBIAN-CVE-2025-54289
Gogithub.com/canonical/lxdno fix listedGO-2025-3999
Gogithub.com/canonical/lxd5.21.4GHSA-3g72-chj4-2228
Gogithub.com/canonical/lxd0.0.0-20250827065555-0494f5d47e41GHSA-3g72-chj4-2228
Gogithub.com/canonical/lxd6.5GHSA-3g72-chj4-2228

Affected products (as reported)

VendorProductVersions
Canonical LXD 6 – before 6.55.21 – before 5.21.4

Weakness: CWE-1385 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References