# CVE-2026-33897: Incus vulnerable to arbitrary file read and write through pongo templates

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-03-26T22:43:31.392Z
- Modified: 2026-06-17T10:38:16.753Z
- Also known as: GHSA-83xr-5xxr-mh92, GO-2026-4881
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lxc incus: < 6.23.0
- github.com/lxc/incus/v6 (Go): before 6.23.0
- github.com/lxc/incus (Go): up to 0.7.0; all versions
- linuxcontainers incus: before 6.23.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33897> (advisory)
- <https://github.com/lxc/incus/commit/487edf5984fad89b0f762c03a7e211fdd38396fb> (fix, web)
- <https://github.com/lxc/incus> (package)

## Sources

- CVE List: [CVE-2026-33897](https://www.cve.org/CVERecord?id=CVE-2026-33897), CVE Terms of Use, modified 2026-03-27
- GitHub Advisory Database: [GHSA-83xr-5xxr-mh92](https://github.com/advisories/GHSA-83xr-5xxr-mh92), CC-BY-4.0, modified 2026-04-07
- Go Vulnerability Database: [GO-2026-4881](https://pkg.go.dev/vuln/GO-2026-4881), CC-BY-4.0, modified 2026-04-07
- NVD: [CVE-2026-33897](https://nvd.nist.gov/vuln/detail/CVE-2026-33897), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33897 · Whole record: https://cve.day/CVE-2026-33897.json · Rebuilt by cve.day 2026-11-25T22:59:17.344Z
