CVE-2026-33897 | lxc incus up to 6.22.x Template File special elements used in a template engine (GHSA-83xr-5xxr-mh92)
VulDBArchived Mar 27, 2026✓ Full text saved
A vulnerability was found in lxc incus up to 6.22.x . It has been declared as critical . The impacted element is an unknown function of the component Template File Handler . Executing a manipulation can lead to improper neutralization of special elements used in a template engine. This vulnerability is registered as CVE-2026-33897 . It is possible to launch the attack remotely. No exploit is available. It is recommended to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-353801 · CVE-2026-33897 · GHSA-83XR-5XXR-MH92
LXC INCUS UP TO 6.22.X TEMPLATE FILE SPECIAL ELEMENTS USED IN A TEMPLATE ENGINE
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.9 $0-$5k 2.45+
Summaryinfo
A vulnerability was found in lxc incus up to 6.22.x. It has been rated as critical. This affects an unknown function of the component Template File Handler. The manipulation leads to improper neutralization of special elements used in a template engine. This vulnerability is documented as CVE-2026-33897. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.
Detailsinfo
A vulnerability, which was classified as critical, has been found in lxc incus up to 6.22.x. This issue affects an unknown function of the component Template File Handler. The manipulation with an unknown input leads to a improper neutralization of special elements used in a template engine vulnerability. Using CWE to declare the problem leads to CWE-1336. The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-33897 since 03/24/2026. The exploitation is known to be easy. The attack may be initiated remotely. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1221 for this issue.
Upgrading to version 6.23.0 eliminates this vulnerability.
Productinfo
Vendor
lxc
Name
incus
Version
6.0
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.19
6.20
6.21
6.22
Website
Product: https://github.com/lxc/incus/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 8.1
VulDB Meta Temp Score: 7.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.9
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Improper neutralization of special elements used in a template engine
CWE: CWE-1336 / CWE-791 / CWE-790
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: incus 6.23.0
Timelineinfo
03/24/2026 CVE reserved
03/27/2026 +3 days Advisory disclosed
03/27/2026 +0 days VulDB entry created
03/27/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-83xr-5xxr-mh92
Status: Confirmed
CVE: CVE-2026-33897 (🔒)
GCVE (CVE): GCVE-0-2026-33897
GCVE (VulDB): GCVE-100-353801
Entryinfo
Created: 03/27/2026 07:03
Changes: 03/27/2026 07:03 (64)
Complete: 🔍
Cache ID: 99:51B:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸