Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lxc/incus/v6/cmd/incusd
  4. ›
  5. CVE-2026-40197

CVE-2026-40197: Incus has a Nil-Pointer Dereference via Custom Volume Import

May 4, 2026 (updated May 8, 2026)

Missing validation logic in the storage volume import logic allows an authenticated user with access to Incus’ storage volume feature to cause the Incus daemon to crash. Repeated use of this issue can be used to keep Incus offline causing a denial of service.

References

  • github.com/advisories/GHSA-r7w7-mmxr-47r9
  • github.com/lxc/incus
  • github.com/lxc/incus/security/advisories/GHSA-r7w7-mmxr-47r9
  • nvd.nist.gov/vuln/detail/CVE-2026-40197

Code Behaviors & Features

Detect and mitigate CVE-2026-40197 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.0.0

Fixed versions

  • 7.0.0

Solution

Upgrade to version 7.0.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/lxc/incus/v6/cmd/incusd/CVE-2026-40197.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:11 +0000.