Vulnerability · Published Jan 22, 2026 · Assigned by GitHub_M

CVE-2026-23953Incus container environment configuration newline injection

High 8.7

In plain English

A high-severity security flaw in incus from lxc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.5%top 57.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23incus6.0.5-r6ALPINE-CVE-2026-23953
Alpine:v3.24incus6.0.5-r6ALPINE-CVE-2026-23953
Alpine:v3.23incus-feature6.21.0-r0ALPINE-CVE-2026-23953
Alpine:v3.24incus-feature6.21.0-r0ALPINE-CVE-2026-23953
Debian:13incus6.0.4-2+deb13u4DEBIAN-CVE-2026-23953
Debian:13incus6.0.4-2+deb13u4DSA-6109-1
Debian:14incus6.0.5-8DEBIAN-CVE-2026-23953
Debian:12lxd5.0.2-5+deb12u3DSA-6153-1
Debian:12lxdno fix listedDEBIAN-CVE-2026-23953
Debian:13lxd5.0.2+git20231211.1364ae4-9+deb13u3DSA-6153-1
Debian:13lxd5.0.2+git20231211.1364ae4-9+deb13u3DEBIAN-CVE-2026-23953
Gogithub.com/lxc/incusno fix listedGO-2026-4359
Gogithub.com/lxc/incus/v66.21.0GHSA-x6jc-phwx-hp32
Gogithub.com/lxc/incus/v6no fix listedGO-2026-4359
Ubuntu:25.10incusno fix listedUBUNTU-CVE-2026-23953

Affected products (as reported)

VendorProductVersions
lxc incus >= 6.1.0, <= 6.20.0<= 6.0.5

Weakness: CWE-93 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

References