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

- Severity: High 7.4 (CVSS:4.0, scored by canonical) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-02T09:23:03.238Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-3g72-chj4-2228, GO-2025-3999
- Weaknesses: CWE-1385
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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

(As written by CVE List.)

## Affected

- Canonical LXD: from 6 before 6.5; from 5.21 before 5.21.4; from 4.0.0 before 5.21.4; from 6.1 before 6.5
- github.com/canonical/lxd (Go): from 4.0 before 5.21.4; from 6.0 before 6.5; from 0.0.0-20200331193331-03aab09f5b5c before 0.0.0-20250827065555-0494f5d47e41; all versions

## Every score

- canonical: CVSS:4.0 7.4 High `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`
- GitHub: CVSS:3.1 6.8 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-3g72-chj4-2228> (exploit, advisory, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2025-54289](https://www.cve.org/CVERecord?id=CVE-2025-54289), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-3g72-chj4-2228](https://github.com/advisories/GHSA-3g72-chj4-2228), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3999](https://pkg.go.dev/vuln/GO-2025-3999), CC-BY-4.0, modified 2025-11-05
- NVD: [CVE-2025-54289](https://nvd.nist.gov/vuln/detail/CVE-2025-54289), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2025-54289 · Whole record: https://cve.day/CVE-2025-54289.json · Rebuilt by cve.day 2026-11-25T22:59:05.427Z
