The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40197

CVE-2026-40197: Incus Storage Volume DoS Vulnerability

CVE-2026-40197 is a denial of service flaw in Incus storage volume import logic that allows authenticated attackers to crash the daemon. This article covers technical details, affected versions, impact, and mitigation.

Published: May 7, 2026

CVE-2026-40197 Overview

CVE-2026-40197 is a null pointer dereference vulnerability [CWE-476] in Incus, an open-source system container and virtual machine manager maintained by the LXC project. The flaw resides in the custom volume backup import subsystem of the Incus daemon. An authenticated user with access to the storage volume feature can supply a crafted backup archive containing a null entry in the volume_snapshots array. Processing the malicious archive triggers a nil-pointer dereference, terminating the Incus daemon. Repeated exploitation keeps Incus offline, producing a sustained denial of service on the affected node. The issue is fixed in Incus 7.0.0.

Critical Impact

An authenticated attacker can crash the Incus daemon repeatedly by importing a backup archive with a null volume_snapshots entry, causing denial of service on the host node.

Affected Products

  • Incus system container and virtual machine manager
  • All Incus versions prior to 7.0.0
  • Hosts exposing the storage volume import feature to authenticated users

Discovery Timeline

  • 2026-05-06 - CVE-2026-40197 published to the National Vulnerability Database
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-40197

Vulnerability Analysis

The vulnerability lives inside the custom volume backup import subsystem of the Incus daemon. During import, the daemon processes an index.yaml file embedded in the backup archive and unmarshals its contents using a YAML deserializer. The snapshot import loop iterates over entries in srcBackup.Config.VolumeSnapshots and immediately dereferences fields including Name, Config, Description, CreatedAt, and ExpiresAt on each element. The loop assumes every slice element is initialized and skips a presence check on the pointer itself.

Because the YAML unmarshaler accepts explicit null array elements from the attacker-controlled index.yaml and converts them into nil pointers inside the slice, the first dereference panics. The Go runtime terminates the daemon process, taking down management of every container and virtual machine on the affected node.

Root Cause

The root cause is missing input validation on deserialized slice elements [CWE-476]. The import code trusts that YAML-derived pointers are non-nil before accessing their fields. No guard checks the snapshot pointer against nil before reading its members, so a single null array entry collapses the daemon.

Attack Vector

An authenticated user with permission to use the storage volume feature uploads a crafted custom volume backup archive. The archive contains an index.yaml whose volume_snapshots array includes an explicit null entry, for example a YAML element rendered as ~ or null. When the daemon imports the archive, the snapshot loop dereferences the nil pointer and panics. Re-submitting the archive after each restart maintains a persistent denial-of-service condition.

The vulnerability requires authentication and network reachability to the Incus API but no user interaction. No verified exploit code is currently public. See the GitHub Security Advisory GHSA-r7w7-mmxr-47r9 for vendor technical details.

Detection Methods for CVE-2026-40197

Indicators of Compromise

  • Unexpected Incus daemon crashes or panics in journalctl -u incus immediately following a custom volume backup import API call
  • Go runtime panic stack traces referencing the volume snapshot import loop and a nil pointer dereference
  • Repeated incus storage volume import requests from the same authenticated principal preceding daemon restarts

Detection Strategies

  • Monitor Incus daemon process lifecycle and alert when the service restarts in close proximity to storage volume import API activity
  • Inspect uploaded backup archives for index.yaml files containing null entries inside the volume_snapshots array before import
  • Correlate authenticated API calls to /1.0/storage-pools/<pool>/volumes/custom with subsequent daemon termination events

Monitoring Recommendations

  • Forward Incus systemd journal logs and audit events to a centralized log platform for crash pattern analysis
  • Track per-user counts of storage volume import operations and flag anomalous spikes from low-privileged accounts
  • Alert on availability gaps for containers and virtual machines hosted on Incus nodes that coincide with import activity

How to Mitigate CVE-2026-40197

Immediate Actions Required

  • Upgrade all Incus installations to version 7.0.0 or later, which contains the validation fix
  • Audit accounts with the storage volume permission and revoke access for users that do not require import capability
  • Review recent storage volume import activity in audit logs for crafted archives that produced daemon restarts

Patch Information

The maintainers fixed the issue in Incus 7.0.0. The patch validates each element in srcBackup.Config.VolumeSnapshots before dereferencing its fields, rejecting backup archives that contain null snapshot entries. Refer to the GitHub Security Advisory GHSA-r7w7-mmxr-47r9 for commit references and upgrade guidance.

Workarounds

  • Restrict the storage volume import feature to trusted administrative accounts using Incus role-based access control until the upgrade is applied
  • Place the Incus API behind a network policy that limits access to operator workstations and management subnets
  • Validate backup archive contents in a staging environment before importing into production nodes
bash
# Upgrade Incus on Debian/Ubuntu-based hosts
sudo apt update
sudo apt install --only-upgrade incus
incus --version  # Confirm version is 7.0.0 or later

# Verify daemon health after upgrade
systemctl status incus

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechIncus

  • SeverityHIGH

  • CVSS Score7.1

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40251: Incus Storage Volume DoS Vulnerability

  • CVE-2026-40195: Incus Storage Bucket DOS Vulnerability

  • CVE-2026-33743: Incus Storage Bucket DoS Vulnerability

  • CVE-2026-40243: Incus OVN Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English