Skip to main content

Incus EUVDEUVD-2026-16466

| CVE-2026-33897 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
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
  2. Delivery
    Create instance with malicious pongo2 template
  3. Exploit
    Bypass chroot isolation
  4. Execution
    Read/write arbitrary host filesystem
  5. Impact
    Execute code as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Requires authenticated access to Incus (PR:L) prior to version 6.23.0. Attacker must craft malicious pongo2 template files in instance configurations to bypass chroot isolation and achieve arbitrary read/write as root on the host system.

Impact

The CVSS 3.1 score of 10.0 reflects network-accessible attack vector (AV:N), low complexity (AC:L), requirement for low privileges (PR:L), no user interaction (UI:N), and scope change (S:C) with high confidentiality, integrity, and availability impacts. However, real-world risk is moderated by the authentication requirement (PR:L indicates authenticated access needed) and the necessity for the attacker to have instance management permissions within Incus. The Server-Side Template Injection (SSTI) classification and information disclosure tags indicate exploitability is straightforward once access is obtained. With no EPSS score provided, no KEV listing, and no public exploit identified at time of analysis, this represents a critical architectural vulnerability requiring urgent patching in affected deployments but with lower immediate mass-exploitation risk compared to unauthenticated remote code execution flaws. Organizations running multi-tenant Incus environments face elevated risk as any tenant with instance privileges could compromise the entire host system.

Exploit ScenarioDerived

An authenticated attacker with low-level instance creation privileges on an Incus host crafts a malicious pongo2 template file within their container that references paths outside the instance filesystem, such as /etc/shadow or /root/.ssh/authorized_keys on the host. When the template is processed during instance lifecycle events (startup, configuration changes), the bypassed chroot isolation allows the template engine running as root to read sensitive host files or write malicious content, enabling full host compromise including persistence mechanisms, credential theft, or lateral movement to other instances on the same hypervisor.

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

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

Alert me

AnalysisAIv1 – Mar 26, 2026

Incus system container and virtual machine manager versions prior to 6.23.0 allow authenticated users with instance access to read and write arbitrary files as root on the host system through exploitation of pongo2 template processing. The vulnerability (scored CVSS 10.0 critical) stems from a bypassed chroot isolation mechanism that was intended to confine template operations to instance filesystems but instead permits unrestricted host filesystem access. No public exploit identified at time of analysis, though the vulnerability is tagged as Server-Side Template Injection (SSTI) with a GitHub security advisory published.

RemediationAI

Upgrade Incus to version 6.23.0 or later, which contains the vendor-released patch addressing the pongo2 chroot bypass issue (see vendor advisory at https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92). Until patching is completed, implement defense-in-depth controls including strict limitation of instance creation and management privileges to only highly trusted users, network segmentation to restrict Incus API access to authorized administrators only, and enhanced monitoring for unexpected file access patterns on host filesystems. Organizations should audit existing instance template configurations for potential abuse and review access logs for suspicious template-related operations during the vulnerable period. Given the scope change (S:C) in the CVSS vector indicating container escape potential, prioritize patching in multi-tenant and production environments where untrusted users have instance access.

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 implements pongo2 template engine functionality for instance lifecycle management, allowing templated file generation within containers and virtual machines. The affected product is identified via CPE cpe:2.3:a:lxc:incus:*:*:*:*:*:*:*:* covering all versions before 6.23.0. The root cause is classified as CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), where the pongo2 chroot isolation feature that should restrict template file operations to the instance filesystem is completely bypassed. This design flaw enables template directives to traverse the chroot boundary and access the host's complete filesystem hierarchy with root privileges, converting what should be a sandboxed template rendering operation into an arbitrary file read/write primitive on the underlying host operating system.

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.1 HIGH

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 - 22:43 nvd
CRITICAL 9.9

DescriptionGitHub Advisory

Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used to cause arbitrary read or writes as root on the host server. Incus allows for pongo2 templates within instances which can be used at various times in the instance lifecycle to template files inside of the instance. This particular implementation of pongo2 within Incus allowed for file read/write but with the expectation that the pongo2 chroot feature would isolate all such access to the instance's filesystem. This was allowed such that a template could theoretically read a file and then generate a new version of said file. Unfortunately the chroot isolation mechanism is entirely skipped by pongo2 leading to easy access to the entire system's filesystem with root privileges. Version 6.23.0 patches the issue.

Executive ViewAI

Why It Matters

Incus container and virtual machine management systems prior to version 6.23.0 contain a critical authentication bypass that allows authorized users to escalate privileges and access arbitrary files on host systems with root permissions. Organizations running affected Incus deployments face complete infrastructure compromise, as attackers with legitimate instance access can read, modify, or delete sensitive data across the entire host environment. Immediate inventory and remediation planning is essential to prevent unauthorized lateral movement and data exfiltration.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict instance access to trusted users only and audit all current access grants; (2) Disable pongo2 template processing functionality if not operationally required; (3) Implement strict network segmentation to isolate Incus hosts from sensitive systems and data stores; (4) Enable comprehensive audit logging of all template operations and host file access; (5) Monitor for suspicious file read/write patterns originating from container/VM processes; (6) Consider running Incus instances in environments with additional OS-level sandboxing (e.g., AppArmor, SELinux) configured for maximum confinement. Monitor vendor advisories closely for patch availability and test immediately upon release.

Threat Intelligence Overview

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

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.0%
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very 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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-33945 CRITICAL
9.9 Mar 26

Path traversal in Incus system container manager allows authenticated remote attackers to write arbitrary files as root

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