{"cve":"CVE-2026-33897","nvd":{"published":"2026-03-26T23:16:20.743","modified":"2026-06-17T10:38:16.753","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-1336"],"references":["https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92"],"products":["linuxcontainers:incus"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33897","score":0.00489,"percentile":0.42119,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-83xr-5xxr-mh92","url":"https://osv.dev/vulnerability/GHSA-83xr-5xxr-mh92","summary":"Incus vulnerable to arbitrary file read and write through pongo templates","modified":"2026-04-07T15:26:16.781913783Z","packages":[{"ecosystem":"Go","name":"github.com/lxc/incus/v6","purl":"pkg:golang/github.com/lxc/incus/v6","ranges":["<6.23.0"],"fixed":["6.23.0"]},{"ecosystem":"Go","name":"github.com/lxc/incus","purl":"pkg:golang/github.com/lxc/incus","ranges":["<=0.7.0"],"fixed":[]}]},{"id":"GO-2026-4881","url":"https://osv.dev/vulnerability/GO-2026-4881","summary":"Incus vulnerable to arbitrary file read and write through pongo templates in github.com/lxc/incus","modified":"2026-04-07T15:15:49.194530Z","packages":[{"ecosystem":"Go","name":"github.com/lxc/incus","purl":"pkg:golang/github.com/lxc/incus","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/lxc/incus/v6","purl":"pkg:golang/github.com/lxc/incus/v6","ranges":["<6.23.0"],"fixed":["6.23.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}