Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M
CVE-2026-48754Incus: Nil-pointer dereference in createDependentVolumesFromBackup on disk.{Volume,VolumeSnapshots,Pool}
Low 2.1
In plain English
A low-severity null pointer dereference in incus from lxc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Incus is a system container and virtual machine manager. Prior to version 7.1.0, `(*backend).createDependentVolumesFromBackup` in `internal/server/storage/backend.go` contains a cluster of unguarded pointer derefs on every dependent-volume entry's `VolumeSnapshots[i]`, `Volume`, and `Pool` sub-fields. An authenticated user with `can_create_instances` permission on any project can crash the `incusd` daemon by uploading an instance backup tarball whose `dependent_volumes[*]` block contains a nil snapshot pointer (or omits `volume:` / `pool:`). This is a sibling-field variant of the 2026-05-04 batch fix `d768f81c0a1d985f35ae56219519822b080bf5e3` ("Properly check dependent volumes on import"). That commit added `if disk == nil` at the top of the outer loop, but did not guard the four sub-pointer fields the loop body dereferences naked. Version 7.1.0 contains an updated patch.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | incus | 7.0.1-r0 | ALPINE-CVE-2026-48754 |
| Debian:14 | incus | 7.0.0-2 | DEBIAN-CVE-2026-48754 |
| Go | github.com/lxc/incus | no fix listed | GO-2026-5800 |
| Go | github.com/lxc/incus/v6 | no fix listed | GO-2026-5800 |
| Go | github.com/lxc/incus/v7 | 7.1.0 | GO-2026-5800 |
| Go | github.com/lxc/incus/v7/cmd/incusd | 7.1.0 | GHSA-4xg6-52mh-fpw8 |
| Ubuntu:25.10 | incus | no fix listed | UBUNTU-CVE-2026-48754 |
| Ubuntu:26.10 | incus | no fix listed | UBUNTU-CVE-2026-48754 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
References
- https://github.com/lxc/incus/security/advisories/GHSA-4xg6-52mh-fpw8 x_refsource_CONFIRM