Read the docs
TI-2025-34118 Aliases CVE-2025-54289GHSA-3g72-chj4-2228

Privilege Escalation via WebSocket Connection Hijacking in LXD Operations API

Priority LOW 34CWE-1385Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00212 11th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed LXD (Canonical): 6.5, 5.21.4github.com/canonical/lxd (Go): 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CanonicalLXD6 to before 6.5; 5.21 to before 5.21.46.5, 5.21.4Patch availableCNA
—github.com/canonical/lxd (Go)4.0 to before 5.21.45.21.4Patch availableGHSA-3g72-chj4-2228
—github.com/canonical/lxd (Go)6.0 to before 6.56.5Patch availableGHSA-3g72-chj4-2228
—github.com/canonical/lxd (Go)0.0.0-20200331193331-03aab09f5b5c to before 0.0.0-20250827065555-0494f5d47e410.0.0-20250827065555-0494f5d47e41Patch availableGHSA-3g72-chj4-2228
  • LXD VendorCanonical Affected 6 to before 6.5; 5.21 to before 5.21.4 Fixed in 6.5, 5.21.4 Patch available CNA
  • github.com/canonical/lxd (Go) Vendor— Affected 4.0 to before 5.21.4 Fixed in 5.21.4 Patch available GHSA-3g72-chj4-2228
  • github.com/canonical/lxd (Go) Vendor— Affected 6.0 to before 6.5 Fixed in 6.5 Patch available GHSA-3g72-chj4-2228
  • github.com/canonical/lxd (Go) Vendor— Affected 0.0.0-20200331193331-03aab09f5b5c to before 0.0.0-20250827065555-0494f5d47e41 Fixed in 0.0.0-20250827065555-0494f5d47e41 Patch available GHSA-3g72-chj4-2228

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*4.0.0 to before 5.21.4; 6.1 to before 6.5VulnerableCanonical
  • cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* Versions 4.0.0 to before 5.21.4; 6.1 to before 6.5 Vulnerable ·Canonical

Remediation

  • Fix · CNA LXD (Canonical) Fixed in 6.5, 5.21.4
  • Fix · GHSA-3g72-chj4-2228 github.com/canonical/lxd (Go) Fixed in 5.21.4 Advisory →
  • Fix · GHSA-3g72-chj4-2228 github.com/canonical/lxd (Go) Fixed in 6.5 Advisory →
  • Fix · GHSA-3g72-chj4-2228 github.com/canonical/lxd (Go) Fixed in 0.0.0-20250827065555-0494f5d47e41 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Canonical LXD 5.21.4, 6.5

    7 records Highest priority Priority HIGH 2 HIGH, 4 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2025-34116 Arbitrary File Read via Template Injection in Snapshot PatternsPriority HIGH 70
    • TI-2025-34119 Project Existence Disclosure via Error Handling in LXD Image ExportPriority HIGH 66
    • TI-2025-34122 Path Traversal in LXD Instance Log File RetrievalPriority MEDIUM 64

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54289
  2. 2026-10-03 Alias added: GHSA-3g72-chj4-2228

References

  • TI-2026-22659 Authenticated RCE via unsanitized compression_algorithm CVSS 4.0CRITICAL 9.4
  • TI-2026-47475 Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE CVSS 3.1CRITICAL 9.9
  • TI-2026-45146 Cross-project instance move bypasses all project restrictions allowing host command execution CVSS 3.1CRITICAL 9.9
  • TI-2026-45143 Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge CVSS 3.1CRITICAL 9.9
  • TI-2026-45142 Project restriction bypass via instance migration config override CVSS 3.1CRITICAL 9.9
  • TI-2026-45140 Root RCE via image backup.yaml symlink CVSS 3.1CRITICAL 9.9
See all 34 →

Sources