Skip to content

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

CriticalCVSS 10.0 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 4 fixed, 1 partially fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/lxd(Debian 12) = 5.0.2+git20231211.1364ae4-1; = 5.0.2+git20231211.1364ae4-2; = 5.0.2+git20231211.1364ae4-3; = 5.0.2+git20231211.1364ae4-4 +14 more No fix listed No fix yet
ubuntu/incus(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/incus(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/incus(Ubuntu 26.10) All versions No fix listed No fix yet
lxc incus(Go) < 6.23.0; <= 0.7.0; All versions 6.23.0 Partially fixed
debian/incus(Debian 13) < 6.0.4-2+deb13u5; = 6.0.4-2; = 6.0.4-2+deb13u1; = 6.0.4-2+deb13u1~bpo12+1 +7 more 6.0.4-2+deb13u5 Fixed
debian/incus(Debian 14) < 6.0.6-2; = 6.0.4-2; = 6.0.4-3; = 6.0.5-1 +8 more 6.0.6-2 Fixed
debian/lxd(Debian 13) < 5.0.2+git20231211.1364ae4-9+deb13u4; = 5.0.2+git20231211.1364ae4-9; = 5.0.2+git20231211.1364ae4-9+deb13u1; = 5.0.2+git20231211.1364ae4-9+deb13u2 +1 more 5.0.2+git20231211.1364ae4-9+deb13u4 Fixed
linuxcontainers incus < 6.23.0 6.23.0 Fixed
lxc incus = < 6.23.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
lxc incus(Go) < 6.23.0 6.23.0
lxc incus(Go) <= 0.7.0 No fix listed
lxc incus(Go) All versions No fix listed
lxc incus = < 6.23.0 No fix listed
debian/incus(Debian:13) < 6.0.4-2+deb13u5 6.0.4-2+deb13u5
debian/incus(Debian:13) = 6.0.4-2 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u1~bpo12+1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u2 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u2~bpo12+1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u3 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u3~bpo12+1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u4 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u4~bpo12+1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u5~bpo12+1 No fix listed
debian/incus(Debian:14) < 6.0.6-2 6.0.6-2
debian/incus(Debian:14) = 6.0.4-2 No fix listed
debian/incus(Debian:14) = 6.0.4-3 No fix listed
debian/incus(Debian:14) = 6.0.5-1 No fix listed
debian/incus(Debian:14) = 6.0.5-2 No fix listed
debian/incus(Debian:14) = 6.0.5-3 No fix listed
debian/incus(Debian:14) = 6.0.5-4 No fix listed
debian/incus(Debian:14) = 6.0.5-5 No fix listed
debian/incus(Debian:14) = 6.0.5-6 No fix listed
debian/incus(Debian:14) = 6.0.5-7 No fix listed
Show 29 more
ProductAffected versionsFixed in
debian/incus(Debian:14) = 6.0.5-8 No fix listed
debian/incus(Debian:14) = 6.0.6-1 No fix listed
debian/lxd(Debian:12) All versions No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-1 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-2 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-3 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-4 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-5 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-6 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-7 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-8 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-9 No fix listed
debian/lxd(Debian:12) = 5.0.2-5 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u1 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u2 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u3 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u4 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u5 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u6 No fix listed
debian/lxd(Debian:12) = 5.0.2-6 No fix listed
debian/lxd(Debian:13) < 5.0.2+git20231211.1364ae4-9+deb13u4 5.0.2+git20231211.1364ae4-9+deb13u4
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u1 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u2 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u3 No fix listed
ubuntu/incus(Ubuntu:24.04) All versions No fix listed
ubuntu/incus(Ubuntu:26.04) All versions No fix listed
ubuntu/incus(Ubuntu:26.10) All versions No fix listed
linuxcontainers incus < 6.23.0 6.23.0

References