Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-23953

CVE-2026-23953: Incus Container Manager RCE Vulnerability

CVE-2026-23953 is a remote code execution flaw in Incus system container manager caused by newline injection in YAML configurations. Attackers can execute arbitrary commands on the host system. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: January 23, 2026

CVE-2026-23953 Overview

CVE-2026-23953 is a newline injection vulnerability in Incus, a system container and virtual machine manager. The vulnerability exists in versions 6.20.0 and below, where a user with the ability to launch a container with a custom YAML configuration (e.g., a member of the incus group) can create an environment variable containing newlines. This can be exploited to inject additional configuration items into the container's lxc.conf file, allowing attackers to add arbitrary lifecycle hooks that ultimately result in arbitrary command execution on the host system.

Critical Impact

This vulnerability enables container escape through newline injection in environment variables, potentially allowing full host compromise from a low-privileged container user context.

Affected Products

  • Incus versions 6.20.0 and below
  • IncusOS (requires modified payload targeting writable directories like /tmp)

Discovery Timeline

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

Technical Details for CVE-2026-23953

Vulnerability Analysis

This vulnerability is classified as CWE-93 (Improper Neutralization of CRLF Sequences), commonly known as CRLF or newline injection. The flaw resides in how Incus processes environment variables when generating LXC configuration files for containers. When a user specifies environment variables in a custom YAML configuration, the values are not properly sanitized for newline characters before being written to the container's lxc.conf file.

The attack is particularly concerning because it requires only local access with membership in the incus group, which is a common permission granted to users who need to manage containers. The adjacent network attack vector indicates that exploitation can occur from systems on the same network segment with authenticated access.

Root Cause

The root cause lies in insufficient input validation within the LXC driver code, specifically in the handling of environment variable values during container configuration generation. The vulnerable code path can be found in the LXC driver implementation. When environment variables containing newline characters are processed, the newlines are preserved and written directly to the lxc.conf file, allowing attackers to inject arbitrary LXC configuration directives.

Attack Vector

The attack leverages the adjacent network vector and requires low privileges (membership in the incus group). An attacker crafts a container configuration with environment variables containing embedded newlines. These newlines break out of the environment variable context in the generated lxc.conf file, allowing the attacker to inject malicious LXC configuration directives.

By injecting lifecycle hook directives (such as lxc.hook.pre-start or lxc.hook.post-stop), the attacker can specify arbitrary commands that execute on the host system when the container transitions through those lifecycle states. On IncusOS, the attack requires targeting a writable directory such as /tmp for the validation step.

The exploitation flow involves:

  1. Creating a malicious environment variable value with embedded newlines
  2. Including LXC lifecycle hook configuration after the newline characters
  3. Launching or restarting the container to trigger hook execution
  4. Achieving arbitrary command execution on the host with the privileges of the Incus daemon

Detection Methods for CVE-2026-23953

Indicators of Compromise

  • Unusual or unexpected lxc.hook.* entries in container configuration files under the Incus data directory
  • Environment variables in container YAML configurations containing newline characters (\n, %0a, or literal line breaks)
  • Unexpected script execution or process spawning by the Incus daemon process
  • Container configurations referencing writable host directories like /tmp in hook commands

Detection Strategies

  • Monitor container configuration files for the presence of lifecycle hook directives that were not explicitly configured through normal administrative channels
  • Implement audit logging for all container creation and modification operations, flagging configurations with multi-line environment variable values
  • Deploy file integrity monitoring on Incus configuration directories to detect unauthorized modifications
  • Use process monitoring to detect child processes spawned by the Incus daemon that match known exploitation patterns

Monitoring Recommendations

  • Enable verbose logging in Incus to capture full container configuration details during creation and modification events
  • Configure SIEM rules to alert on container configurations containing embedded newlines or suspicious LXC directives
  • Monitor for privilege escalation attempts from users in the incus group
  • Review audit logs for container lifecycle events that coincide with unexpected host-level command execution

How to Mitigate CVE-2026-23953

Immediate Actions Required

  • Restrict membership in the incus group to only trusted administrators who require container management capabilities
  • Audit existing container configurations for malicious or unexpected environment variable values containing newlines
  • Implement additional access controls to limit who can create containers with custom YAML configurations
  • Consider running Incus containers in more restricted modes until patches are applied

Patch Information

A fix is planned for Incus versions 6.0.6 and 6.21.0, though these versions had not been released at the time of CVE publication. Organizations should monitor the GitHub Security Advisory for release announcements and apply the update immediately upon availability. A preliminary patch has been made available through the security advisory for organizations that need to apply a fix before official releases.

Workarounds

  • Remove untrusted users from the incus group to prevent exploitation by low-privileged attackers
  • Implement a pre-validation script that scans container configurations for newline characters in environment variable values before allowing container creation
  • Deploy AppArmor or SELinux policies to restrict what lifecycle hooks can execute, limiting the impact of successful exploitation
  • Use network segmentation to limit adjacent network access to Incus management interfaces
bash
# Example: Audit incus group membership and review container configurations
# List all users in the incus group
getent group incus

# Search for containers with potentially malicious environment variables
find /var/lib/incus/containers -name "*.yaml" -exec grep -l $'\n' {} \;

# Review LXC configuration files for unexpected hook directives
grep -r "lxc.hook" /var/lib/incus/containers/*/config

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

  • Vulnerability Details
  • TypeRCE

  • 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-93
  • Technical References
  • GitHub LXC Driver Code

  • GitHub Security Advisory

  • GitHub Script Attachment

  • GitHub Patch Attachment
  • 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