CVEfocus › CVE database › CVE-2026-23953

CVE-2026-23953Incus container environment configuration newline injection

CVSS 8.7 HighEPSS 0.5% (higher than 37% of CVEs)Published 2026-01-22Updated 2026-01-26Assigner: GitHub_M

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.

CWE-93

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
7Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04incusFix pendingUBUNTU-CVE-2026-23953
Ubuntu 25.10incusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23953
Ubuntu 24.04incusFix pendingUBUNTU-CVE-2026-23953
Ubuntu 20.04lxdFix pendingUBUNTU-CVE-2026-23953
Ubuntu 18.04lxdFix pendingUBUNTU-CVE-2026-23953
Ubuntu 16.04lxdFix pendingUBUNTU-CVE-2026-23953
Debian 14incusFixed6.0.5-8DEBIAN-CVE-2026-23953
Debian 13incusFixed6.0.4-2+deb13u4DEBIAN-CVE-2026-23953
Debian 13lxdFixed5.0.2+git20231211.1364ae4-9+deb13u3DEBIAN-CVE-2026-23953
Debian 12lxdFix pendingDEBIAN-CVE-2026-23953
Alpine Linux 3.24incusFixed6.0.5-r6ALPINE-CVE-2026-23953
Alpine Linux 3.24incus-featureFixed6.21.0-r0ALPINE-CVE-2026-23953
Alpine Linux 3.23incusFixed6.0.5-r6ALPINE-CVE-2026-23953
Alpine Linux 3.23incus-featureFixed6.21.0-r0ALPINE-CVE-2026-23953
Go librarygithub.com/lxc/incusFix pendingGO-2026-4359
Go librarygithub.com/lxc/incus/v6Fixed6.21.0GO-2026-4359

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.