CVEfocus › CVE database › CVE-2026-33897

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

CVSS 10.0 CriticalEPSS 0.6% (higher than 44% of CVEs)Published 2026-03-26Updated 2026-03-27Assigner: GitHub_M

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.

CWE-1336

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
8Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10incusFix pendingUBUNTU-CVE-2026-33897
Ubuntu 26.04incusFix pendingUBUNTU-CVE-2026-33897
Ubuntu 25.10incusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33897
Ubuntu 24.04incusFix pendingUBUNTU-CVE-2026-33897
Ubuntu 20.04lxdFix pendingUBUNTU-CVE-2026-33897
Ubuntu 18.04lxdFix pendingUBUNTU-CVE-2026-33897
Ubuntu 16.04lxdFix pendingUBUNTU-CVE-2026-33897
Debian 14incusFixed6.0.6-2DEBIAN-CVE-2026-33897
Debian 13incusFixed6.0.4-2+deb13u5DEBIAN-CVE-2026-33897
Debian 13lxdFixed5.0.2+git20231211.1364ae4-9+deb13u4DEBIAN-CVE-2026-33897
Debian 12lxdFix pendingDEBIAN-CVE-2026-33897
Go librarygithub.com/lxc/incusFix pendingGHSA-83xr-5xxr-mh92
Go librarygithub.com/lxc/incus/v6Fixed6.23.0GHSA-83xr-5xxr-mh92

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.