Incus has a Nil-Pointer Dereference Panic via Instance Backup Import (volume omitted)
lxc incus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lxc/incus/v7 Go |
|
|
| github.com/lxc/incus Go |
| No fix yet |
| github.com/lxc/incus/v6 Go |
|
lxc incus
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lxc/incus/v7 Go |
|
|
| github.com/lxc/incus Go |
| No fix yet |
| github.com/lxc/incus/v6 Go |
|
| No fix yet |
Incus is a system container and virtual machine manager. Prior to version 7.1.0, `(*backend).CreateInstanceFromBackup` in `internal/server/storage/backend.go` contains a nil-pointer dereference that an authenticated user with permission to create instances in any project can trigger remotely by uploading a crafted backup tarball. The Incus daemon panics and the process crashes, causing denial of service to every project on that cluster member. This is a sibling of `GHSA-fwj8-62r8-8p8m`, `GHSA-r7w7-mmxr-47r9`, and `GHSA-x5r6-jr56-89pv` (all assigned 2026-05-04). Those patches added guards on adjacent fields of the same `backup/config.Config` struct; the `Volume` field on the instance-import path was missed. Version 7.1.0 contains an updated patch.
From the CVE record · GitHub_M
Incus backup import has a nil-pointer dereference that crashes the daemon, causing denial of service to every project on the affected cluster member. An authenticated user with permission to create instances in any project can trigger it remotely by uploading a crafted backup tarball; no further user interaction is described.
Operators and developers using Incus or the Go packages github.com/lxc/incus/v7 before 7.1.0, github.com/lxc/incus, or github.com/lxc/incus/v6 should check their deployments.