Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Lifecycle Timeline
4DescriptionGitHub 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.
AnalysisAI
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.
Technical ContextAI
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.
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.
Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e
Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic
A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all
Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re
Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb
AutoGPT versions 0.3.4 and earlier are vulnerable to a Server-Side Template Injection (SSTI) that could lead to Remote C
Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository mlflow/mlflow prior to 2.9.2.
Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository microweber/microweber prior t
OneBlog v2.3.6 was discovered to contain a template injection vulnerability via the template management department. Rate
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-16466