CVEfocus › CVE database › CVE-2026-23954

CVE-2026-23954Incus container image templating arbitrary host file read and write

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

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.

CWE-22

What to do

Fixed builds are available from Alpine, Debian: 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

7Fixed
9Fix 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-23954
Ubuntu 25.10incusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23954
Ubuntu 24.04incusFix pendingUBUNTU-CVE-2026-23954
Ubuntu 20.04lxdFix pendingUBUNTU-CVE-2026-23954
Ubuntu 18.04lxdFix pendingUBUNTU-CVE-2026-23954
Ubuntu 16.04lxdFix pendingUBUNTU-CVE-2026-23954
Debian 14incusFixed6.0.5-8DEBIAN-CVE-2026-23954
Debian 13incusFixed6.0.4-2+deb13u4DEBIAN-CVE-2026-23954
Debian 13lxdFixed5.0.2+git20231211.1364ae4-9+deb13u3DEBIAN-CVE-2026-23954
Debian 12lxdFix pendingDEBIAN-CVE-2026-23954
Alpine Linux 3.24incusFixed6.0.5-r6ALPINE-CVE-2026-23954
Alpine Linux 3.24incus-featureFixed6.21.0-r0ALPINE-CVE-2026-23954
Alpine Linux 3.23incusFixed6.0.5-r6ALPINE-CVE-2026-23954
Alpine Linux 3.23incus-featureFixed6.21.0-r0ALPINE-CVE-2026-23954
Go librarygithub.com/lxc/incusFix pendingGO-2026-4357
Go librarygithub.com/lxc/incus/v6Fix pendingGO-2026-4357
Go librarygithub.com/lxc/incus/v6/cmd/incusdFix pendingGHSA-7f67-crqm-jgh7

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.