CVE-2025-54289Canonical Lxd
High 7.4
Follow: this CVE · Canonical · Canonical Lxd We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 4.0
- 7.4
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 2, 2025
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1385
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/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
What happens
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
What to do
- Apply the vendor's security update for Lxd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/canonical/lxd |
≥ 4.0 < 5.21.4 |
5.21.4 |
go get github.com/canonical/lxd@v5.21.4 |
| Go | github.com/canonical/lxd |
≥ 6.0 < 6.5 |
6.5 |
go get github.com/canonical/lxd@v6.5 |
| Go | github.com/canonical/lxd |
≥ 0.0.0-20200331193331-03aab09f5b5c < 0.0.0-20250827065555-0494f5d47e41 |
0.0.0-20250827065555-0494f5d47e41 |
go get github.com/canonical/lxd@v0.0.0-20250827065555-0494f5d47e41 |
| Go | github.com/canonical/lxd |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-3g72-chj4-2228, GO-2025-3999). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | lxd | ≥ 4.0.0 < 5.21.4 |
| canonical | lxd | ≥ 6.1 < 6.5 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory