Cross-site Request Forgery (CSRF) Affecting github.com/canonical/lxd/lxd package, versions <5.0.5>=5.21.0 <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.01% (1st 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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCANONICALLXDLXD-13301389
  • published6 Oct 2025
  • disclosed2 Oct 2025
  • creditUnknown

Introduced: 2 Oct 2025

NewCVE-2025-54286  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) in the API. An attacker can perform unauthorized actions, such as creating and starting arbitrary instances or executing arbitrary commands inside containers, by tricking a victim authenticated with client certificate authentication into visiting a malicious website that submits crafted HTML forms.

CVSS Base Scores

version 4.0
version 3.1