Skip to main content

Incus CVE-2026-33945

| EUVDEUVD-2026-16492 CRITICAL
Path Traversal (CWE-22)
2026-03-26 GitHub_M
9.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Incus with low privileges
  2. Delivery
    Set malicious systemd.credential config key with path traversal payload
  3. Exploit
    Incus writes credentials outside intended directory
  4. Execution
    Arbitrary file write to host filesystem
  5. Impact
    Execute code or compromise system

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Incus versions prior to 6.23.0 with systemd credentials enabled for containers. Requires authenticated attacker with local container management privileges to set malicious configuration keys containing path traversal sequences (e.g., systemd.credential.../../../../../../root/.bashrc) to write arbitrary files outside the credentials directory.

Impact

This vulnerability presents a nuanced risk profile requiring careful analysis of multiple signals. The CVSS 9.9 Critical score reflects maximum impact: network-accessible (AV:N), low complexity (AC:L), scope change indicating container escape (S:C), and complete compromise of confidentiality, integrity, and availability (C:H/I:H/A:H). However, the PR:L requirement means attackers need low-privileged authenticated access to the Incus management interface, not just network connectivity. The EPSS score of 0.06% (18th percentile) suggests security researchers assess real-world exploitation probability as very low, potentially because Incus deployments are less common than Docker/Kubernetes, and the attack requires pre-existing container management credentials. No public exploit identified at time of analysis, and absence from CISA KEV confirms no observed active exploitation. SSVC factors favor monitoring over immediate emergency response: exploitation status is none, technical impact is total (host compromise from container), but the authentication barrier and specialized target environment reduce automatability. The primary risk scenario involves malicious insiders or compromised accounts with legitimate container provisioning access, rather than opportunistic mass exploitation. Organizations running Incus in multi-tenant environments or where container users have configuration API access should prioritize patching, while those with strict access controls around container creation may treat this as high severity rather than critical emergency.

Exploit ScenarioDerived

An attacker with authenticated low-privilege access to the Incus management API creates a new container or modifies an existing container configuration, setting a systemd credential key like 'systemd.credential.../../../../../../etc/cron.d/malicious' with payload content containing a cron job specification. When Incus processes this configuration, it writes the attacker-controlled content to /etc/cron.d/malicious on the host system instead of the intended container credentials directory, achieving container escape. The malicious cron job executes with root privileges on the host at the next scheduled interval, granting the attacker full host system compromise from an initially containerized position. Alternatively, the attacker could target critical system files like /root/.ssh/authorized_keys or systemd unit files to establish persistence or /etc/shadow for credential manipulation, or trigger denial of service by overwriting essential system binaries or configuration files.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

Path traversal in Incus system container manager allows authenticated remote attackers to write arbitrary files as root on the host via malformed systemd credential configuration keys. Affecting all versions before 6.23.0, this enables both privilege escalation from container to host and denial of service through critical file overwrites. EPSS score of 0.06% (18th percentile) indicates low observed exploitation probability, with no public exploit identified at time of analysis. The CVSS 9.9 Critical rating reflects the severe impact of container escape, though the PR:L requirement and lack of active exploitation temper immediate urgency.

RemediationAI

Vendor-released patch: version 6.23.0 resolves this vulnerability through improved path validation in systemd credential configuration handling. Organizations should upgrade all Incus installations to version 6.23.0 or later immediately. The fix is implemented in commit f74199f9983e2ce78f2b78b6d765c6635b229c82 available at https://github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82. Until patching is completed, administrators should implement compensating controls including restricting container configuration API access to only highly trusted administrators, auditing existing container configurations for systemd.credential settings containing path traversal sequences (../ patterns), implementing monitoring for unexpected file modifications in sensitive host directories, and considering disabling systemd credential passing features if not operationally required. Review access control policies to ensure the principle of least privilege for container management operations. Full remediation guidance is available in the GitHub Security Advisory at https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f.

Affected VersionsENISA

incus < 6.23.0

Affected Packages

go github.com/lxc/incus no fix
go github.com/lxc/incus/v6 fix: 6.23.0
euvd incus fix: 6.23.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Incus (a fork of LXC/LXD) implements systemd credential passing for containers through a shared directory mechanism. The vulnerability exploits insufficient path validation in the configuration key parser for systemd.credential.* settings. The implementation fails to sanitize path traversal sequences in the credential name portion, treating 'systemd.credential.../../../../../../root/.bashrc' as a valid credential identifier. This CWE-22 path traversal flaw bypasses directory confinement controls, allowing authenticated users with container configuration privileges to specify write targets outside the intended credentials directory. The affected component is cpe:2.3:a:lxc:incus before version 6.23.0. The attack leverages the fact that Incus parses everything after 'systemd.credential.' as a filename without normalizing or validating the path, creating a classic directory traversal condition where relative path components are preserved and processed by the underlying filesystem operations.

Know when Incus gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 9.6 CRITICAL

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 26, 2026 - 23:27 nvd
CRITICAL 9.9

DescriptionGitHub Advisory

Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like systemd.credential.../../../../../../root/.bashrc to cause Incus to write outside of the credentials directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is systemd.credential.XYZ where XYZ can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.

Executive ViewAI

Why It Matters

CVE-2026-33945 is a critical path traversal vulnerability in Incus container management software that allows authenticated users within containers to write arbitrary files as root on the host system, enabling complete container escape and system compromise. Organizations running Incus versions prior to 6.23.0 face immediate risk of privilege escalation and potential denial of service, particularly in multi-tenant environments where container isolation is a security boundary. This vulnerability should be prioritized for patching despite low current exploitation indicators, as container escape typically has severe business impact across infrastructure and data security.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict container console/API access to trusted administrators only, eliminating the PR:L (authenticated) requirement; (2) Implement strict AppArmor or SELinux profiles on Incus host to limit systemd credential file write scope; (3) Use read-only host filesystem mounts where feasible; (4) Isolate Incus hosts from critical infrastructure via network segmentation; (5) Monitor /etc/systemd/ and host root-owned file modifications for suspicious activity. These controls reduce but do not eliminate risk-patching is mandatory when available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Incus

View all
CVE-2026-23954 HIGH POC
8.7 Jan 22

Incus is a system container and virtual machine manager. [CVSS 8.7 HIGH]

CVE-2026-23953 HIGH POC
8.7 Jan 22

Incus contains a vulnerability that allows attackers to adding arbitrary lifecycle hooks, ultimately resulting in arbitr

CVE-2026-33897 CRITICAL
9.9 Mar 26

Incus system container and virtual machine manager versions prior to 6.23.0 allow authenticated users with instance acce

CVE-2026-115377 CRITICAL
9.4 Oct 22

Arbitrary file write in Incus (before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0 before 7.5.0) allows an authenticated client

CVE-2026-33898 HIGH
8.8 Mar 26

Authentication bypass in Incus webui (versions prior to 6.23.0) permits local or remote attackers to gain unauthorized a

CVE-2026-115376 HIGH
8.3 Oct 22

Project isolation bypass in Incus lets an authenticated client that is confined to one project copy and read custom stor

CVE-2026-115371 HIGH
7.1 Oct 22

Authenticated restricted TLS clients on Incus can retrieve S3 access and secret keys for storage buckets in the default

CVE-2026-115373 HIGH
7.0 Oct 22

Incus servers that use multi-project tenancy expose in-flight operations across project boundaries because the GET /1.0/

CVE-2026-33743 MEDIUM
6.5 Mar 26

Denial of service in Incus prior to version 6.23.0 allows authenticated users with storage bucket access to crash the In

CVE-2026-33542 MEDIUM
5.7 Mar 26

Incus versions prior to 6.23.0 fail to validate image fingerprints when downloading from simplestreams servers, enabling

CVE-2026-33711 MEDIUM
4.7 Mar 26

Incus versions prior to 6.23.0 allow local authenticated attackers to manipulate temporary screenshot files via predicta

CVE-2025-64507 HIGH POC
8.6 Nov 10

Incus is a system container and virtual machine manager. Rated high severity (CVSS 8.6), this vulnerability is no authen

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy