Advisory record · GHSA-3g72-chj4-2228

Canonical LXD Vulnerable to Privilege Escalation via WebSocket Connection Hijacking in Operations API

CVSS 7.4 HighEPSS 0.0021 · 11th percentile

Published by the GitHub Advisory Database at 2 Oct 2025, 21:19 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/canonical/lxdGo>=4.0, <5.21.4 || >=6.0, <6.5 || >=0.0.0-20200331193331-03aab09f5b5c, <0.0.0-20250827065555-0494f5d47e415.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41
Identifiers
GHSA-3g72-chj4-2228 · CVE-2025-54289 · GO-2025-3999
Weakness (CWE)
CWE-1385
Published
2 Oct 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Canonical LXD versions from 4.0 before 5.21.4 and from 6.0 before 6.5, along with certain earlier Go module pseudo-versions, are vulnerable. An attacker with only read permission on a project can obtain WebSocket secrets from the operations API and use them to hijack another user's terminal or console session, running commands with that user's privileges; the attack depends on timing. Upgrade to LXD 5.21.4, 6.5, or the fixed pseudo-version 0.0.0-20250827065555-0494f5d47e41.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 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 CNA (canonical)
  • CISA KEV Not listed.
  • EPSS 0.0021, the 11th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:14 UTC First seen by agentprime
  2. 31 Oct 2026, 14:14 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.