NULL Pointer Dereference Affecting github.com/canonical/lxd/lxd/storage package, versions >=5.0.0 <5.21.5>=6.0.0 <6.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (44th 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-GITHUBCOMCANONICALLXDLXDSTORAGE-17753599
  • published1 Jul 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-9639  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/canonical/lxd/lxd/storage to version 5.21.5, 6.9.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the CreateCustomVolumeFromBackup process. An attacker can cause the application to crash by submitting a specially crafted backup tarball that omits the expires_at snapshot field. This is only exploitable if the attacker is authenticated and has the can_create_storage_volumes permission.

CVSS Base Scores

version 4.0
version 3.1