Arbitrary Code Injection Affecting github.com/canonical/lxd/lxd package, versions >=4.2 <6.7


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.5% (39th 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-GITHUBCOMCANONICALLXDLXD-15518331
  • published13 Mar 2026
  • disclosed12 Mar 2026
  • creditUnknown

Introduced: 12 Mar 2026

CVE-2026-28384  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/canonical/lxd/lxd to version 6.7 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the exec.Command() function via the compression_algorithm parameter in API calls to the image and backup endpoints. An attacker can execute arbitrary commands as the LXD daemon by sending specially crafted requests after authenticating.

CVSS Base Scores

version 4.0
version 3.1