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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 5.21.4, 6.5 (CNA); fix release not confirmed
- Status: published
- Published: 2025-10-02 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2025-54289, DEBIAN-CVE-2025-54289, GHSA-3g72-chj4-2228, GO-2025-3999, ALPINE-CVE-2025-54289
- Record: https://cvemate.com/vulnerability/CVE-2025-54289 · JSON: https://cvemate.com/vulnerability/CVE-2025-54289/json

## Description

```text
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
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.39%, percentile 35.261%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine incus (Alpine Linux): \< 6.0.6-r0
- canonical lxd: ≥ 6, \< 6.5 \| ≥ 5.21, \< 5.21.4 \| ≥ 4.0.0, \< 5.21.4 \| ≥ 6.1, \< 6.5
- debian incus (Debian): \< 6.0.4-2+deb13u1 \| \< 6.0.5-1
- debian lxd (Debian): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)
- github.com/canonical lxd (Go): ≥ 4.0, \< 5.21.4 \| ≥ 6.0, \< 6.5 \| ≥ 0.0.0-20200331193331-03aab09f5b5c, \< 0.0.0-20250827065555-0494f5d47e41 \| All versions (No fix recorded)

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-3g72-chj4-2228>
- <https://ubuntu.com/security/CVE-2025-54289>
- <https://www.cve.org/CVERecord?id=CVE-2025-54289>
- <https://security-tracker.debian.org/tracker/CVE-2025-54289>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54289>
- <https://github.com/canonical/lxd>
- <https://pkg.go.dev/vuln/GO-2025-3999>
- <https://security.alpinelinux.org/vuln/CVE-2025-54289>

---

Data as of 2026-12-05T03:01:22.422Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
