Vulnerability · Published Jan 22, 2026 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity path traversal 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.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.8%top 43.9% 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. 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23incus6.0.5-r6ALPINE-CVE-2026-23954
Alpine:v3.24incus6.0.5-r6ALPINE-CVE-2026-23954
Alpine:v3.23incus-feature6.21.0-r0ALPINE-CVE-2026-23954
Alpine:v3.24incus-feature6.21.0-r0ALPINE-CVE-2026-23954
Debian:13incus6.0.4-2+deb13u4DEBIAN-CVE-2026-23954
Debian:13incus6.0.4-2+deb13u4DSA-6109-1
Debian:14incus6.0.5-8DEBIAN-CVE-2026-23954
Debian:12lxdno fix listedDEBIAN-CVE-2026-23954
Debian:12lxd5.0.2-5+deb12u3DSA-6153-1
Debian:13lxd5.0.2+git20231211.1364ae4-9+deb13u3DSA-6153-1
Debian:13lxd5.0.2+git20231211.1364ae4-9+deb13u3DEBIAN-CVE-2026-23954
Gogithub.com/lxc/incusno fix listedGO-2026-4357
Gogithub.com/lxc/incus/v6no fix listedGO-2026-4357
Gogithub.com/lxc/incus/v6/cmd/incusdno fix listedGHSA-7f67-crqm-jgh7
Ubuntu:25.10incusno fix listedUBUNTU-CVE-2026-23954

Affected products (as reported)

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

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

References