Missing Origin Validation in WebSockets Affecting github.com/canonical/lxd/client package, versions <5.21.4>=6.1.0 <6.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCANONICALLXDCLIENT-13301387
  • published6 Oct 2025
  • disclosed2 Oct 2025
  • creditUnknown

Introduced: 2 Oct 2025

CVE-2025-54289  (opens in a new tab)
CWE-1385  (opens in a new tab)

How to fix?

Upgrade github.com/canonical/lxd/client to version 5.21.4, 6.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Missing Origin Validation in WebSockets via the operations API response, which includes secret values used for authenticating WebSocket connections. An attacker can execute arbitrary commands with the privileges of another user by hijacking active terminal or console sessions through the use of these secret values. This is only exploitable if the attacker has read permissions for the project and a victim with higher privileges opens a terminal or console session, allowing the attacker to intercept the WebSocket connection at the correct timing.

References

CVSS Base Scores

version 4.0
version 3.1