CVE-2026-33945
CVE-2026-33945 · Abitrary file write through systemd-creds option
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 10.0 · Critical · EPSS 0.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
incus
- Versions
- < 6.23.0: Affected
No fix published
incus Debian:14
- Versions
- 6.0.4-2
- 6.0.4-3
- 6.0.5-1
- 6.0.5-2
- 6.0.5-3
- 6.0.5-4
- 6.0.5-5
- 6.0.5-6
- 6.0.5-7
- 6.0.5-8
- 6.0.6-1
- Affected ranges
- ECOSYSTEM: < 6.0.6-2
Update to 6.0.6-2
incus Ubuntu:Pro:24.04:LTS
- Versions
- 0.4-1ubuntu1
- 0.5.1-1
- 0.5.1-3
- 0.6-1
- 6.0.0-1
- 6.0.0-1ubuntu0.1
- 6.0.0-1ubuntu0.2
- 6.0.0-1ubuntu0.2+esm1
- 6.0.0-1ubuntu0.3
- 6.0.0-1ubuntu0.3+esm1
- 6.0.0-1ubuntu0.3+esm2
- 6.0.0-1ubuntu0.3+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
incus Ubuntu:25.10
- Versions
- 6.0.3-4
- 6.0.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
incus Ubuntu:26.10
- Versions
- 6.0.5-8
- 7.0.1-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
incus Ubuntu:Pro:26.04:LTS
- Versions
- 6.0.4-2
- 6.0.5-8
- 6.0.5-8ubuntu0.26.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published