CVE-2026-41684
Description
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.
Weakness
- CWE-476: NULL Pointer Dereference
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-07 |
Timeline
- 2026-05-04GitHub advisory published (GHSA-x5r6-jr56-89pv)3 days before publication
- 2026-05-07Published by the CNA13:08 UTC
- 2026-05-07CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-x5r6-jr56-89pv, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/lxc/incus/v6/cmd/incusd | through 6.23.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linuxcontainers incus | before 7.0.0fixed in 7.0.0 | 7.0.0 |
References
- https://github.com/lxc/incus/releases/tag/v7.0.0
- https://github.com/lxc/incus/security/advisories/GHSA-x5r6-jr56-89pv
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-41684'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-41684'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-41684'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-41684'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).