Skip to content
OpenAdvisories
Low · 2.1 CVE-2026-48756 EUVD-2026-63974GHSA-xhqx-mgh3-3h7qGO-2026-5810

Incus: CreateCustomVolumeFromBackup nil-pointer dereference on volume_snapshots[*].expires_at (sibling-field variant of GHSA-r7w7)

Published Aug 21, 2026 · Updated Aug 21, 2026 · Assigned by GitHub_M

Description

Incus is a system container and virtual machine manager. Prior to version 7.1.0, `(*backend).CreateCustomVolumeFromBackup` in `internal/server/storage/backend.go` contains an unguarded `*time.Time` dereference on the `ExpiresAt` field of every volume-snapshot entry in an imported custom-volume backup. An authenticated user with `can_create_storage_volumes` permission on any project can crash the `incusd` daemon by uploading a backup tarball whose `volume_snapshots[*].expires_at` field is absent. This is a sibling-field variant of GHSA-r7w7-mmxr-47r9 (CVE-2026-40197). Commit `985a1dedf9f3e7ba729c93b654905ed510de25c2` added `if s == nil` at the top of the loop body, but did not guard the adjacent `*snapshot.ExpiresAt` deref 19 lines later. Every other consumer of `Config.VolumeSnapshots[i].ExpiresAt` in this same file already gates the deref with a nil-check — the asymmetric guard is the bug. Version 7.1.0 contains an updated patch.

Affected products

VendorProductAffectedFixed
lxc incus < 7.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 incus 7.0.0-2 —
Debian 13 incus 6.0.4-2+deb13u8 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 incus No fix yet —
Ubuntu 25.10 incus No fix yet —
Ubuntu 20.04 LTS lxd No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS incus No fix yet —
Ubuntu Pro 24.04 LTS incus No fix yet —
Ubuntu Pro 18.04 LTS lxd No fix yet —
Ubuntu Pro 16.04 LTS lxd No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed incus 7.4-1.1 openSUSE-SU-2026:11651-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
ReleasePackageFixed inAdvisory
Alpine v3.24 incus 7.0.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/lxc/incus all versions — GO-2026-5810
Go github.com/lxc/incus/v6 all versions — GO-2026-5810
Go github.com/lxc/incus/v7 < 7.1.0 7.1.0 GO-2026-5810
Go github.com/lxc/incus/v7/cmd/incusd < 7.1.0 7.1.0 GHSA-xhqx-mgh3-3h7q

Advisories 2

References