Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

Incus Allows Root Access to Arbitrary Files

CVE-2026-33945
Summary

Incus virtual machine manager versions prior to 6.23.0 can be tricked into writing files outside of a secure area. This allows an attacker to gain root access and perform malicious actions. Upgrade to version 6.23.0 or later to fix this issue.

Original title
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. P...
Original 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.
nvd CVSS3.1 9.9
Vulnerability type
CWE-22 Path Traversal
Published: 27 Mar 2026 · Updated: 27 Mar 2026 · First seen: 27 Mar 2026