CVE-2026-40195
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.
Weakness
- CWE-476: NULL Pointer Dereference
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-07 |
Timeline
- 2026-05-04GitHub advisory published (GHSA-gc7j-g665-rxr9)2 days before publication
- 2026-05-06Published by the CNA20:33 UTC
- 2026-05-07CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-gc7j-g665-rxr9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/lxc/incus/v6/cmd/incusd | before 7.0.0 | 7.0.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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-40195'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-40195'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-40195'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-40195'
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).