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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- DSA-6188-1 lxd - security update Debian Security (DSA / DLA) · Mar 31, 2026
- DSA-6184-1 incus - security update Debian Security (DSA / DLA) · Mar 29, 2026
- openSUSE-SU-2026:10450-1 incus-6.23-1.1 on GA media SUSE / openSUSE Security Updates · Mar 29, 2026