{"id":"CVE-2026-33897","published":"2026-03-26T22:43:31Z","modified":"2026-03-27T20:02:55Z","title":"Incus vulnerable to arbitrary file read and write through pongo templates","vendor":"lxc","product":"incus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.43725,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":8.75},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"lxc","affectedVersions":[{"vendor":"lxc","product":"incus","versions":["< 6.23.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-27T20:02:45.794604Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/lxc/incus/v6","vulnerableRanges":["<6.23.0"],"patched":["6.23.0"],"from":["GHSA-83xr-5xxr-mh92","GO-2026-4881"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/lxc/incus","vulnerableRanges":["<=0.7.0","all versions"],"patched":[],"from":["GHSA-83xr-5xxr-mh92","GO-2026-4881"],"provenance":"source"}],"summary":{"text":"Incus, the system container and virtual machine manager from lxc, contains a flaw in its pongo2 template handling that lets instance template files read and write arbitrary files on the host as root, because the chroot isolation intended to confine template file access is bypassed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:14:07Z"},"euvd":{"id":"EUVD-2026-16466","exploited":false,"provenance":"source"}}