CVE-2026-23953: Incus container environment configuration newline injection
Vulnerability summary
CVE-2026-23953 is a high (CVSS 8.7) vulnerability in linuxcontainers incus. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.7% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 22-01-2026PublishedVulnerability first disclosed.
- 26-01-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated8.7HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- OSV · GoEcosystem advisory · calculated8.7HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- NVDNIST8.7HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- OSV · AlpineEcosystem advisory · calculated8.7HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.49% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundIncus
Maturity: poc
Files
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: adjacent network, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine2 products
- incus≥ 6.1.0, < 6.0.5-r6 | < 6.0.5-r6
- incus-feature< 6.21.0-r0
Debian2 products
- incus< 6.0.4-2+deb13u4 | < 6.0.5-8
- lxdAll versions (No fix recorded) | < 5.0.2+git20231211.1364ae4-9+deb13u3
Ubuntu2 products
- incusAll versions (No fix recorded)
- lxdAll versions (No fix recorded)
Github.com/lxc1 product
- incusAll versions (No fix recorded)
Github.com/lxc/incus1 product
- v6< 6.21.0 | ≥ 6.1.0 (No fix recorded)
Linuxcontainers1 product
- incus≤ 6.0.5 | ≥ 6.1.0, < 6.21.0
Lxc1 product
- incus≥ 6.1.0, ≤ 6.20.0 | ≤ 6.0.5
7 vendors · 10 products
References
10 links- github.com/lxc/incus/security/advisories/GHSA-x6jc-phwx-hp32X Refsource CONFIRMREPORTWEBAdvisoryExploitVendor Advisory
- github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.goX Refsource MISCREPORTWEBProduct
- github.com/user-attachments/files/24473682/environment_newline_injection.shX Refsource MISCREPORTWEBExploit
- github.com/user-attachments/files/24473685/environment_newline_injection.patchX Refsource MISCREPORTWEBPatch
- github.com/lxc/incusPACKAGE