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

CVE-2026-33945: Incus Privilege Escalation Vulnerability

CVE-2026-33945 is a privilege escalation flaw in Linuxcontainers Incus that allows attackers to write arbitrary files as root through path traversal in systemd credentials. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 3, 2026

CVE-2026-33945 Overview

CVE-2026-33945 is a critical path traversal vulnerability in Incus, a system container and virtual machine manager developed by LinuxContainers. The vulnerability exists in the systemd credential handling mechanism for container instances, where insufficient input validation allows attackers to write arbitrary files as root on the host system.

Incus instances provide an option to pass credentials to systemd in the guest environment. For containers, this is accomplished through a shared directory. The vulnerability arises from the systemd.credential.XYZ configuration key syntax, where XYZ can contain additional periods. Prior to version 6.23.0, an attacker can craft a configuration key such as systemd.credential.../../../../../../root/.bashrc to force Incus to write outside the designated credentials directory, achieving arbitrary file write capabilities with root privileges.

Critical Impact

This path traversal vulnerability enables attackers to write arbitrary files as root on the host system, leading to both privilege escalation and denial of service attacks on systems running vulnerable Incus versions.

Affected Products

  • Linuxcontainers Incus versions prior to 6.23.0
  • Systems utilizing Incus systemd credential passthrough functionality
  • Container environments configured with systemd credential configuration keys

Discovery Timeline

  • 2026-03-27 - CVE CVE-2026-33945 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-33945

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal or directory traversal. The flaw resides in how Incus processes the systemd.credential.* configuration namespace without properly sanitizing the credential name portion.

The attack exploits a design oversight where the credential name suffix in systemd.credential.XYZ is directly used to construct file paths within the credentials directory. Since the credential name can legitimately contain periods (e.g., systemd.credential.my.service.token), the parser does not strip or reject path separators embedded within the credential name. This allows an attacker with the ability to set container configuration keys to inject relative path sequences like ../ to traverse out of the intended credentials directory.

While the vulnerability does not permit reading arbitrary files, the ability to write content as root presents severe security implications. An attacker can overwrite critical system files, inject malicious scripts into shell initialization files, modify cron jobs, or corrupt essential configuration files to cause denial of service.

Root Cause

The root cause is improper input validation in the Incus credential handling code path. When processing systemd.credential.* configuration keys, the application fails to sanitize or validate the credential name portion for path traversal sequences. The code constructs a file path by directly appending the user-supplied credential name to the base credentials directory path without canonicalizing the result or checking that the final path remains within the intended directory boundary.

Attack Vector

The attack is network-accessible and requires low privileges to execute. An attacker with the ability to modify container configuration—such as an authenticated user with container management permissions—can set a malicious configuration key. The exploitation flow involves:

  1. Attacker identifies a target Incus container with systemd credential support enabled
  2. Attacker sets a configuration key with embedded path traversal sequences (e.g., systemd.credential.../../../../../../etc/cron.d/backdoor)
  3. Incus processes the configuration and writes the credential value to the traversed path
  4. The malicious content is written as root, achieving arbitrary file write on the host system

The vulnerability enables privilege escalation from container administrator to host root, as well as denial of service through corruption of critical system files. See the GitHub Security Advisory for complete technical details.

Detection Methods for CVE-2026-33945

Indicators of Compromise

  • Configuration keys containing path traversal sequences such as ../ within systemd.credential.* entries
  • Unexpected file modifications in system directories (e.g., /root/, /etc/) timestamped during Incus container operations
  • New or modified files in sensitive locations like /root/.bashrc, /etc/cron.d/, or /etc/sudoers.d/
  • Container configurations with unusually long or obfuscated credential names

Detection Strategies

  • Audit Incus container configurations for systemd.credential.* keys containing ../ or encoded path traversal sequences
  • Implement file integrity monitoring (FIM) on critical host system files to detect unauthorized modifications
  • Monitor Incus logs for configuration changes involving systemd credential parameters
  • Deploy endpoint detection rules to alert on file write operations to sensitive directories originating from Incus processes

Monitoring Recommendations

  • Enable verbose logging for Incus daemon operations and container configuration changes
  • Configure SIEM alerting for any configuration keys matching patterns like systemd.credential.*../*
  • Implement real-time monitoring of file system changes in /etc/, /root/, and other privileged directories
  • Review container configuration history for anomalous credential key naming patterns

How to Mitigate CVE-2026-33945

Immediate Actions Required

  • Upgrade Incus to version 6.23.0 or later immediately
  • Audit existing container configurations for any systemd.credential.* keys containing path traversal sequences
  • Review file integrity on host systems to identify any unauthorized file modifications
  • Restrict container configuration modification permissions to trusted administrators only

Patch Information

LinuxContainers has released version 6.23.0 of Incus which addresses this vulnerability by implementing proper input validation and path canonicalization for systemd credential configuration keys. The fix ensures that credential names containing path traversal sequences are rejected, and file write operations are constrained to the designated credentials directory.

For detailed patch information and release notes, refer to the GitHub Security Advisory GHSA-q4q8-7f2j-9h9f.

Workarounds

  • Disable systemd credential passthrough functionality for containers until the patch can be applied
  • Implement strict access controls to limit which users can modify container configurations
  • Deploy AppArmor or SELinux profiles to restrict Incus write operations to approved directories
  • Use file system monitoring tools to detect and alert on writes outside expected credential paths
bash
# Configuration example
# Verify current Incus version
incus version

# Upgrade Incus to patched version (example for apt-based systems)
apt update && apt install incus=6.23.0

# Audit existing configurations for suspicious credential keys
incus config show <container-name> | grep -E "systemd\.credential\..*/\.\."

# Restrict container configuration permissions (example)
incus config set <container-name> security.restricted=true

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinuxcontainers Incus

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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