CVE-2026-23954
published high CVSS 3.1 · 8.7Incus container image templating arbitrary host file read and write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lxc | — | incus>= 6.1.0, <= 6.20.0 · <= 6.0.5 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | incus | Fixed | 6.0.5-r6 | Package fix record |
| Debian | trixie | incus | Advisory build | 6.0.4-2+deb13u4 | DSA-6109-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incusaarch64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| Alpine Linux | v3.23 | incus | Fixed | 6.0.5-r6 | Package fix record |
| Alpine Linux | v3.24 | incus | Fixed | 6.0.5-r6 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | incusppc64le | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incuss390x | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
Show 22 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | incusx86_64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| Alpine Linux | edge | incus-feature | Fixed | 6.21.0-r0 | Package fix record |
| Alpine Linux | v3.23 | incus-feature | Fixed | 6.21.0-r0 | Package fix record |
| Alpine Linux | v3.24 | incus-feature | Fixed | 6.21.0-r0 | Package fix record |
| Debian | bookworm | lxd | Advisory build | 5.0.2-5+deb12u3 | DSA-6153-1 |
| Debian | trixie | lxd | Advisory build | 5.0.2+git20231211.1364ae4-9+deb13u3 | DSA-6153-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completionaarch64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completionppc64le | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completions390x | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-bash-completionx86_64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completionaarch64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completionppc64le | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completions390x | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-fish-completionx86_64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolsaarch64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolsppc64le | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolss390x | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-toolsx86_64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completionaarch64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completionppc64le | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completions390x | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | incus-zsh-completionx86_64 | Advisory build | 6.22-1.1 | OPENSUSE-SU-2026:10280-1 |
Description
Incus is a system container and virtual machine manager. Versions 6.21.0 and below allow a user with the ability to launch a container with a custom image (e.g a member of the ‘incus’ group) to use directory traversal or symbolic links in the templating functionality to achieve host arbitrary file read, and host arbitrary file write. This ultimately results in arbitrary command execution on the host. When using an image with a metadata.yaml containing templates, both the source and target paths are not checked for symbolic links or directory traversal. This can also be exploited in IncusOS. A fix is planned for versions 6.0.6 and 6.21.0, but they have not been released at the time of publication.
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
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lxc | incus | >= 6.1.0, <= 6.20.0 (affected)<= 6.0.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L7215
- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L7294
- https://github.com/lxc/incus/security/advisories/GHSA-7f67-crqm-jgh7
- https://github.com/user-attachments/files/24473599/template_arbitrary_write.sh
- https://github.com/user-attachments/files/24473601/templates_arbitrary_write.patch
Provider assertions
2GitHub_M · cna
Incus container image templating arbitrary host file read and write
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6f9f5ec0932dc6e0b2e75ffeaa39fa8adaa5be9e8a47e6eaf0fe08bddaa24958
- Ingested
- 23 Sep 2026, 09:06:19 UTC
- Source record
- Official CVE record