cbcvebase.
CVE-2026-33897
published 2026-03-26

CVE-2026-33897: 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…

PriorityP268critical9.9CVSS 3.1
AVNACLPRLUINSCCHIHAH
EPSS
0.48%
38.3th percentile
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.

Affected

10 ranges
VendorProductVersion rangeFixed in
canonicallxd>= 0 < 5.0.2-5+deb12u45.0.2-5+deb12u4
canonicallxd>= 0 < 5.0.2+git20231211.1364ae4-9+deb13u45.0.2+git20231211.1364ae4-9+deb13u4
debianincus< incus 6.0.6-2 (forky)incus 6.0.6-2 (forky)
debianlxd< incus 6.0.6-2 (forky)incus 6.0.6-2 (forky)
github.comlxc_incus0 – 0.7.0
github.comlxc_incus_v6>= 0 < 6.23.06.23.0
linuxcontainersincus< 6.23.06.23.0
lxcincus< 6.23.06.23.0
lxcincus>= 0 < 6.0.4-2+deb13u56.0.4-2+deb13u5
lxcincus>= 0 < 6.0.6-26.0.6-2

Detection & IOCsextracted from sources · hover to see the quote

  • Audit Incus instance template files (pongo2 templates) for file read/write directives that reference absolute paths or path traversal sequences that could escape the instance filesystem boundary.
  • ·The vulnerability is local in scope — an attacker must already have control over instance template files within an Incus instance to exploit the pongo2 chroot bypass.
  • ·The pongo2 chroot isolation feature, which is relied upon by Incus to confine template file access to the instance filesystem, is entirely non-functional and provides no actual containment — do not rely on it as a security boundary in any Incus version prior to the patch.

CVSS provenance

nvdv3.19.9CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
osv9.9CRITICAL
vendor_debian9.9CRITICAL
vendor_redhat9.9CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.