Skip to content

CVE-2026-33945 Abitrary file write through systemd-creds option

CriticalCVSS 9.6 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

5 packages: 2 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/incus(Ubuntu 26.10) All versions No fix listed No fix yet
lxc incus(Go) < 6.23.0; All versions 6.23.0 Partially fixed
debian/incus(Debian 14) < 6.0.6-2; = 6.0.4-2; = 6.0.4-3; = 6.0.5-1 +8 more 6.0.6-2 Fixed
linuxcontainers incus < 6.23.0 6.23.0 Fixed
lxc incus = < 6.23.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
lxc incus(Go) < 6.23.0 6.23.0
lxc incus(Go) All versions No fix listed
lxc incus = < 6.23.0 No fix listed
debian/incus(Debian:14) < 6.0.6-2 6.0.6-2
debian/incus(Debian:14) = 6.0.4-2 No fix listed
debian/incus(Debian:14) = 6.0.4-3 No fix listed
debian/incus(Debian:14) = 6.0.5-1 No fix listed
debian/incus(Debian:14) = 6.0.5-2 No fix listed
debian/incus(Debian:14) = 6.0.5-3 No fix listed
debian/incus(Debian:14) = 6.0.5-4 No fix listed
debian/incus(Debian:14) = 6.0.5-5 No fix listed
debian/incus(Debian:14) = 6.0.5-6 No fix listed
debian/incus(Debian:14) = 6.0.5-7 No fix listed
debian/incus(Debian:14) = 6.0.5-8 No fix listed
debian/incus(Debian:14) = 6.0.6-1 No fix listed
ubuntu/incus(Ubuntu:26.10) All versions No fix listed
linuxcontainers incus < 6.23.0 6.23.0

References