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

- Priority: **Prioritise**
- Reason: Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.23.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-03-26 · Modified: 2026-03-27
- Aliases: UBUNTU-CVE-2026-33897, DEBIAN-CVE-2026-33897, GHSA-83xr-5xxr-mh92, GO-2026-4881
- Record: https://cvemate.com/vulnerability/CVE-2026-33897 · JSON: https://cvemate.com/vulnerability/CVE-2026-33897/json

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

## Signals

- CVSS: 10 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.53%, percentile 46.343%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian incus (Debian): \< 6.0.4-2+deb13u5 \| \< 6.0.6-2
- debian lxd (Debian): All versions (No fix recorded) \| \< 5.0.2+git20231211.1364ae4-9+deb13u4
- ubuntu incus (Ubuntu): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)
- github.com/lxc incus (Go): ≤ 0.7.0 \| All versions (No fix recorded)
- github.com/lxc/incus v6 (Go): \< 6.23.0
- linuxcontainers incus: \< 6.23.0
- lxc incus: \< 6.23.0

## References

- <https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92>
- <https://ubuntu.com/security/CVE-2026-33897>
- <https://www.cve.org/CVERecord?id=CVE-2026-33897>
- <https://github.com/lxc/incus/pull/3092>
- <https://security-tracker.debian.org/tracker/CVE-2026-33897>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33897>
- <https://github.com/lxc/incus/commit/487edf5984fad89b0f762c03a7e211fdd38396fb>
- <https://github.com/lxc/incus>

---

Data as of 2026-12-05T04:23:00.726Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
