CVE-2026-33897

NameCVE-2026-33897
DescriptionIncus 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
incus (PTS)trixie (security), trixie6.0.4-2+deb13u4fixed
forky6.0.6-1vulnerable
sid6.0.6-2fixed
lxd (PTS)bookworm5.0.2-5+deb12u2fixed
bookworm (security)5.0.2-5+deb12u3fixed
trixie (security), trixie5.0.2+git20231211.1364ae4-9+deb13u3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
incussourcetrixie(not affected)
incussource(unstable)6.0.6-2
lxdsource(unstable)(not affected)

Notes

[trixie] - incus <not-affected> (Vulnerable code not present)
- lxd <not-affected> (Vulnerable code not present)
https://github.com/lxc/incus/pull/3092
https://github.com/lxc/incus/security/advisories/GHSA-83xr-5xxr-mh92

Search for package or bug name: Reporting problems