CVE-2026-40197
Last modified
CVE-2026-40197 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage volume import logic allows an authenticated user with access to the storage volume feature to cause the Incus daemon to crash. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
Incus is a system container and virtual machine manager. In versions before 7.0.0, missing validation logic in the storage volume import logic allows an authenticated user with access to the storage volume feature to cause the Incus daemon to crash. The custom volume backup import subsystem contains a nil-pointer dereference vulnerability during import operations. In the snapshot import loop, the daemon iterates over entries from `srcBackup.Config.VolumeSnapshots` and assumes that each slice element is initialized, then dereferences fields such as `Name`, `Config`, `Description`, `CreatedAt`, and `ExpiresAt` without first validating the element itself. Because the yaml unmarshaler accepts explicit null array elements from an attacker-controlled index.yaml and converts them into nil pointers inside the slice, an attacker can supply a backup archive containing a null entry in the volume_snapshots array. This causes a nil-pointer dereference during custom volume import and terminates the daemon, resulting in denial of service on the affected node. 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxcontainers | Incus | < 7.0.0 |
References
- https://github.com/lxc/incus/security/advisories/GHSA-r7w7-mmxr-47r9Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40197?
How severe is CVE-2026-40197?
How do I fix CVE-2026-40197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40191ClearanceKit intercepts file-system access events on macOS a…6.8
- CVE-2026-40192Pillow is a Python imaging library. Versions 10.3.0 through …7.5
- CVE-2026-40193maddy is a composable, all-in-one mail server. Versions prio…8.2
- CVE-2026-40194phpseclib is a PHP secure communications library. Starting i…3.7
- CVE-2026-40195Incus is a system container and virtual machine manager. In …6.5
- CVE-2026-40196HomeBox is a home inventory and organization system. Version…8.1
- CVE-2026-40198Net::CIDR::Lite versions before 0.23 for Perl does not valid…7.5
- CVE-2026-40199Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv…6.5
- CVE-2026-4020The Gravity SMTP plugin for WordPress is vulnerable to Sensi…7.5
- CVE-2026-40200An issue was discovered in musl libc 0.7.10 through 1.2.6. S…8.1
- CVE-2026-40201@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 al…5.4
- CVE-2026-40208An attacker might be able to delay the processing of DoH3 qu…3.7
Are you affected by CVE-2026-40197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
