# CVE-2026-41684: Incus: Nil Dereferences on Restore via Malformed YAML

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-07 · Modified: 2026-05-07
- Aliases: UBUNTU-CVE-2026-41684, DEBIAN-CVE-2026-41684, GHSA-x5r6-jr56-89pv, GO-2026-5742, ALPINE-CVE-2026-41684
- Record: https://cvemate.com/vulnerability/CVE-2026-41684 · JSON: https://cvemate.com/vulnerability/CVE-2026-41684/json

## Description

```text
Incus is a system container and virtual machine manager. Prior to version 7.0.0, backup.GetInfo() trusts the inline backup/index.yaml config when present and only falls back to parsing the legacy backup/container/backup.yaml file if result.Config == nil. As a result, an archive can carry a valid inline config that passes the initial import preflight while also carrying a malformed legacy backup/container/backup.yaml file that is reparsed later from the restored file system. ParseConfigYamlFile() accepts YAML documents with no container section, and multiple downstream consumers then dereference. Container without checking for nil. Confirmed examples in the instance restore and import flow include backup.UpdateInstanceConfig() and internalImportFromBackup(). An authenticated user with permission to import instance backups may be able to crash the Incus daemon with a crafted backup archive whose inline backup/index.yaml is valid but whose extracted legacy backup.yaml omits container. The crash occurs in the restore path after archive extraction has begun. This issue has been patched in version 7.0.0.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.389%, percentile 35.114%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine incus (Alpine Linux): \< 7.0.0-r0
- alpine incus-feature (Alpine Linux): \< 7.0.0-r0
- debian incus (Debian): \< 6.0.4-2+deb13u7 \| \< 7.0.0-1
- debian lxd (Debian): All versions (No fix recorded) \| \< 5.0.2+git20231211.1364ae4-9+deb13u6
- ubuntu incus (Ubuntu): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)
- github.com/lxc incus (Go): All versions (No fix recorded)
- github.com/lxc/incus v6 (Go): All versions (No fix recorded)
- github.com/lxc/incus/v6/cmd incusd (Go): ≤ 6.23.0
- linuxcontainers incus: \< 7.0.0
- lxc incus: \< 7.0.0

## References

- <https://github.com/lxc/incus/security/advisories/GHSA-x5r6-jr56-89pv>
- <https://github.com/lxc/incus/releases/tag/v7.0.0>
- <https://ubuntu.com/security/CVE-2026-41684>
- <https://www.cve.org/CVERecord?id=CVE-2026-41684>
- <https://github.com/lxc/incus/pull/3273>
- <https://security-tracker.debian.org/tracker/CVE-2026-41684>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41684>
- <https://github.com/lxc/incus>
- <https://security.alpinelinux.org/vuln/CVE-2026-41684>

---

Data as of 2026-12-05T04:44:54.649Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
