{"cve":"CVE-2026-41684","nvd":{"published":"2026-05-07T14:16:03.350","modified":"2026-10-26T20:10:00.160","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-476"],"references":["https://github.com/lxc/incus/releases/tag/v7.0.0","https://github.com/lxc/incus/security/advisories/GHSA-x5r6-jr56-89pv"],"products":["linuxcontainers:incus"],"source":"nvd","synced_at":"2026-10-26T20:34:58.897451322+00:00"},"epss":{"cve":"CVE-2026-41684","score":0.00408,"percentile":0.34839,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-x5r6-jr56-89pv","url":"https://osv.dev/vulnerability/GHSA-x5r6-jr56-89pv","summary":"Incus has Nil Dereferences on Restore via Malformed YAML","modified":"2026-06-25T23:11:17.404519624Z","packages":[{"ecosystem":"Go","name":"github.com/lxc/incus/v6/cmd/incusd","purl":"pkg:golang/github.com/lxc/incus/v6/cmd/incusd","ranges":["<=6.23.0"],"fixed":[]}]},{"id":"GO-2026-5742","url":"https://osv.dev/vulnerability/GO-2026-5742","summary":"Incus has Nil Dereferences on Restore via Malformed YAML in github.com/lxc/incus","modified":"2026-06-25T23:01:40.969348268Z","packages":[{"ecosystem":"Go","name":"github.com/lxc/incus","purl":"pkg:golang/github.com/lxc/incus","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/lxc/incus/v6","purl":"pkg:golang/github.com/lxc/incus/v6","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}