Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-33897 EUVD-2026-16466GHSA-83xr-5xxr-mh92GO-2026-4881

Incus vulnerable to arbitrary file read and write through pongo templates

Published Mar 26, 2026 · Updated Mar 27, 2026 · 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.

Affected products

VendorProductAffectedFixed
lxc incus < 6.23.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 incus 6.0.6-2 —
Debian 13 incus 6.0.4-2+deb13u5 DSA-6184-1
Debian 13 lxd 5.0.2+git20231211.1364ae4-9+deb13u4 DSA-6188-1
Debian 12 lxd 5.0.2-5+deb12u4 DSA-6188-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 incus No fix yet —
Ubuntu 25.10 incus No fix yet —
Ubuntu 20.04 LTS lxd No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS incus No fix yet —
Ubuntu Pro 24.04 LTS incus No fix yet —
Ubuntu Pro 18.04 LTS lxd No fix yet —
Ubuntu Pro 16.04 LTS lxd No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed incus 6.23-1.1 openSUSE-SU-2026:10450-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/lxc/incus <= 0.7.0 — GHSA-83xr-5xxr-mh92
Go github.com/lxc/incus all versions — GO-2026-4881
Go github.com/lxc/incus/v6 < 6.23.0 6.23.0 GHSA-83xr-5xxr-mh92

Advisories 4

References