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
    • 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-23954

CVE-2026-23954: Incus Path Traversal Vulnerability

CVE-2026-23954 is a path traversal flaw in Incus that allows attackers to achieve arbitrary file read/write and command execution on the host. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-23954 Overview

CVE-2026-23954 is a critical path traversal and symlink vulnerability affecting Incus, a system container and virtual machine manager. The vulnerability exists in versions 6.21.0 and below, where the templating functionality fails to properly validate source and target paths for directory traversal sequences or symbolic links. This security flaw allows users with container launching privileges to achieve arbitrary file read and write on the host system, ultimately leading to arbitrary command execution.

Critical Impact

This vulnerability enables container escape through path traversal and symlink exploitation, allowing attackers with local access to achieve full host compromise including arbitrary file read, arbitrary file write, and remote code execution.

Affected Products

  • Incus versions 6.21.0 and below
  • Incus versions 6.0.x (prior to planned 6.0.6 patch)
  • IncusOS (also affected by this vulnerability)

Discovery Timeline

  • 2026-01-22 - CVE CVE-2026-23954 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-23954

Vulnerability Analysis

This vulnerability falls under CWE-22 (Path Traversal) and affects the image templating functionality within Incus. When a user launches a container with a custom image containing a metadata.yaml file with templates defined, the Incus server processes both source and target paths without adequate security validation. The templating engine fails to sanitize paths for directory traversal sequences (such as ../) or symbolic link resolution, creating an exploitable condition.

The attack requires adjacent network access and low privileges (specifically membership in the incus group), but no user interaction is needed. Successful exploitation can impact confidentiality and integrity across security boundaries, as the attacker can escape the container isolation to access host system resources.

Root Cause

The root cause lies in the insufficient input validation within the LXC driver code, specifically in the template processing functions. When handling image templates defined in metadata.yaml, the code at driver_lxc.go line 7215 and line 7294 does not properly validate or canonicalize file paths before performing file operations. This allows malicious paths containing ../ sequences or symbolic links pointing outside the intended container filesystem to be processed, enabling the attacker to read from or write to arbitrary locations on the host.

Attack Vector

The attack vector requires an attacker with the ability to launch containers using custom images—typically a member of the incus group. The attacker crafts a malicious container image with a metadata.yaml file that includes template definitions with path traversal sequences or symbolic links pointing to sensitive host locations.

When the container is launched, the templating engine processes these malicious paths without sanitization, allowing the attacker to:

  1. Read arbitrary files from the host system by specifying a source path that traverses outside the container root
  2. Write arbitrary content to host files by specifying a target path with directory traversal
  3. Chain these capabilities to achieve arbitrary command execution on the host (e.g., by writing to /etc/cron.d/ or modifying system binaries)

The vulnerability is particularly severe because it allows container escape, breaking the fundamental security isolation that containerization is designed to provide. Technical details and proof-of-concept materials are available in the GitHub Security Advisory.

Detection Methods for CVE-2026-23954

Indicators of Compromise

  • Unexpected file access patterns from Incus container processes targeting paths outside container roots
  • Container images with suspicious metadata.yaml template configurations containing ../ sequences
  • Symbolic links within container images pointing to sensitive host system paths like /etc/passwd, /etc/shadow, or /etc/cron.d/
  • Unusual file modification timestamps on host system files coinciding with container launch events

Detection Strategies

  • Monitor Incus container launch events and inspect custom images for suspicious template configurations before deployment
  • Implement file integrity monitoring (FIM) on critical host system files and directories
  • Configure audit logging to capture file access attempts from container-related processes outside expected boundaries
  • Review container image registries and scan metadata.yaml files for path traversal patterns using regular expressions

Monitoring Recommendations

  • Enable comprehensive logging for the Incus daemon and monitor for template processing errors or unusual path references
  • Deploy endpoint detection and response (EDR) solutions to identify container escape attempts and suspicious host file access
  • Establish baseline container behavior and alert on deviations, particularly file operations targeting host paths
  • Configure SentinelOne to monitor for path traversal attack patterns and container breakout behaviors

How to Mitigate CVE-2026-23954

Immediate Actions Required

  • Restrict membership in the incus group to only trusted users who require container management capabilities
  • Audit all custom container images currently in use for suspicious template configurations in metadata.yaml
  • Implement network segmentation to limit adjacent network access to Incus management interfaces
  • Consider temporarily disabling custom image support or template processing until patches are available

Patch Information

A fix is planned for Incus versions 6.0.6 and 6.21.0, but these patches have not been released at the time of CVE publication. Organizations should monitor the official Incus security advisory for patch availability and apply updates immediately upon release. A community patch has been shared for testing purposes but should be evaluated carefully before production deployment.

Workarounds

  • Restrict container launching to only pre-approved, vetted images from trusted sources
  • Remove untrusted users from the incus group until patches are applied
  • Implement mandatory access control (MAC) using AppArmor or SELinux to restrict Incus container processes from accessing host paths
  • Deploy a container image scanning solution to detect and block images with suspicious template configurations
bash
# Restrict incus group membership to trusted users only
# Review current members
getent group incus

# Remove untrusted users from the incus group
sudo gpasswd -d <untrusted_user> incus

# Audit container images for suspicious templates
grep -r "\.\./" /var/lib/incus/images/*/metadata.yaml 2>/dev/null

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechIncus

  • SeverityHIGH

  • CVSS Score8.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub LXC Driver Code Reference

  • GitHub LXC Driver Code Reference

  • GitHub Security Advisory GHSA-7f67-crqm-jgh7

  • GitHub Arbitrary Write Template

  • GitHub Arbitrary Write Patch
  • Related CVEs
  • CVE-2026-33898: Incus Privilege Escalation Vulnerability

  • CVE-2026-33897: Incus Privilege Escalation Vulnerability

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

  • CVE-2026-33711: Incus Privilege Escalation Vulnerability
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