CVE-2026-33945
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | forky | fixed | 6.0.6-2 |
| debian | sid | fixed | 6.0.6-2 |
| debian | trixie | fixed | 0 |
| sles | affected | | |
| debian | bookworm | fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/lxc/incus/v6 | <6.23.0 | 6.23.0 |
| Go | github.com/lxc/incus | | |
References
- https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f
- https://nvd.nist.gov/vuln/detail/CVE-2026-33945
- https://github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82
- https://github.com/lxc/incus
- https://security-tracker.debian.org/tracker/CVE-2026-33945
- https://www.suse.com/security/cve/CVE-2026-33945.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.