CVE-2026-33945

EUVD-2026-16492
Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like `systemd.credential.../../../../../../root/.bashrc` to cause Incus to write outside of the `credentials` directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is `systemd.credential.XYZ` where `XYZ` can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.9 CRITICAL
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 7%
Affected Products (NVD)
VendorProductVersion
linuxcontainersincus
𝑥
< 6.23.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
incus
forky
6.0.6-3
fixed
sid
7.0.0-1
fixed
trixie
6.0.4-2+deb13u4
fixed
trixie (security)
6.0.4-2+deb13u7
fixed
lxd
bookworm
5.0.2-5+deb12u2
fixed
bookworm (security)
5.0.2-5+deb12u6
fixed
trixie
5.0.2+git20231211.1364ae4-9+deb13u3
fixed
trixie (security)
5.0.2+git20231211.1364ae4-9+deb13u6
fixed