# CVE-2026-40195: Incus nil-pointer dereference in storage bucket import allows denial of service

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-04T17:40:00.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-gc7j-g665-rxr9, GO-2026-5397
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage bucket import logic allows an authenticated user with access to the storage bucket feature to cause the Incus daemon to crash. The vulnerability is present in the backup metadata handling logic, where the daemon processes the index.yaml file from an imported archive and accesses members of the parsed backup configuration without first verifying that the configuration object was initialized. A malicious or malformed index.yaml that omits the config block causes a nil-pointer dereference during bucket import operations and terminates the daemon. Repeated use of this issue can be used to keep Incus offline, causing a denial of service. This issue is fixed in version 7.0.0.

(As written by CVE List.)

## Affected

- lxc incus: < 7.0.0
- github.com/lxc/incus/v6/cmd/incusd (Go): before 7.0.0
- github.com/lxc/incus (Go): all versions
- github.com/lxc/incus/v6 (Go): all versions
- github.com/lxc/incus/v7 (Go): before 7.0.0
- linuxcontainers incus: before 7.0.0

## Every score

- GitHub_M: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lxc/incus/security/advisories/GHSA-gc7j-g665-rxr9> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40195> (advisory)
- <https://github.com/lxc/incus> (package)

## Sources

- CVE List: [CVE-2026-40195](https://www.cve.org/CVERecord?id=CVE-2026-40195), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-gc7j-g665-rxr9](https://github.com/advisories/GHSA-gc7j-g665-rxr9), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5397](https://pkg.go.dev/vuln/GO-2026-5397), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40195](https://nvd.nist.gov/vuln/detail/CVE-2026-40195), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40195 · Whole record: https://cve.day/CVE-2026-40195.json · Rebuilt by cve.day 2026-11-25T22:59:20.832Z
