CVE-2026-33897
published critical CVSS 3.1 · 10.0Incus vulnerable to arbitrary file read and write through pongo templates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lxc | — | incus< 6.23.0 | Affected | Not stated | GitHub_M |
| Debian | trixie | incus | Advisory build | 6.0.4-2+deb13u5 | DSA-6184-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incusaarch64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incusppc64le | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incuss390x | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incusx86_64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| Debian | bookworm | lxd | Advisory build | 5.0.2-5+deb12u4 | DSA-6188-1 |
| Debian | trixie | lxd | Advisory build | 5.0.2+git20231211.1364ae4-9+deb13u4 | DSA-6188-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completionaarch64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completionppc64le | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completions390x | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completionx86_64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completionaarch64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completionppc64le | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completions390x | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completionx86_64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolsaarch64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolsppc64le | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolss390x | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolsx86_64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completionaarch64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completionppc64le | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completions390x | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completionx86_64 | Advisory build | 6.23-1.1 | OPENSUSE-SU-2026:10450-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lxc | incus | < 6.23.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
1Provider assertions
2GitHub_M · cna
Incus vulnerable to arbitrary file read and write through pongo templates
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9ba6f0b65acbf56f121bc80b2c819f4616aee1085562823891521db9dfea7b4c
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record