CVE-2025-54289
HIGH 7.4CVSS 4.0Canonical LXD Vulnerable to Privilege Escalation via WebSocket Connection Hijacking in Operations API
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
- Published
- 2 Oct 2025
- Last modified
- 23 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-1385
- Also known as
- GHSA-3g72-chj4-2228GO-2025-3999
- Sources
- NVDJSONOSV GHSA-3g72-chj4-2228JSONOSV GO-2025-3999JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 4.0 | HIGH 7.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 4.0.0, < 5.21.4 | 5.21.4 |
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 6.1, < 6.5 | 6.5 |
| OSV | Go | github.com/canonical/lxd | >= 4.0, < 5.21.4 | 5.21.4 |
| OSV | Go | github.com/canonical/lxd | >= 6.0, < 6.5 | 6.5 |
| OSV | Go | github.com/canonical/lxd | >= 0.0.0-20200331193331-03aab09f5b5c, < 0.0.0-20250827065555-0494f5d47e41 | 0.0.0-20250827065555-0494f5d47e41 |
| OSV | Go | github.com/canonical/lxd | all versions |
References
- https://github.com/canonical/lxd/security/advisories/GHSA-3g72-chj4-2228 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-54289 · ADVISORY
- https://github.com/canonical/lxd · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3999 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 2 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Oct 2025)