CVE-2026-23953
published high CVSS 3.1 · 8.7Incus container environment configuration newline injection
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. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YAML configuration (e.g a member of the ‘incus’ group) can create an environment variable containing newlines, which can be used to add additional configuration items in the container’s lxc.conf due to newline injection. This can allow adding arbitrary lifecycle hooks, ultimately resulting in arbitrary command execution on the host. Exploiting this issue on IncusOS requires a slight modification of the payload to change to a different writable directory for the validation step (e.g /tmp). This can be confirmed with a second container with /tmp mounted from the host (A privileged action for validation only). 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-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
4- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L1081
- https://github.com/lxc/incus/security/advisories/GHSA-x6jc-phwx-hp32
- https://github.com/user-attachments/files/24473682/environment_newline_injection.sh
- https://github.com/user-attachments/files/24473685/environment_newline_injection.patch
Provider assertions
2GitHub_M · cna
Incus container environment configuration newline injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 605251aff5350d81fa1ef952a7359301d2784db91813cdde9ea97a0d6fe4c042
- Ingested
- 23 Sep 2026, 09:06:19 UTC
- Source record
- Official CVE record