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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/lxc/incus/v6Go | < 6.23.0 | 6.23.0 |
Affected products
3- ghsa-coords2 versions
< 6.23.0+ 1 more
- (no CPE)range: < 6.23.0
- (no CPE)range: < 6.23-1.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-q4q8-7f2j-9h9fghsaADVISORY
- github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9fnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-33945ghsaADVISORY
- github.com/lxc/incus/commit/f74199f9983e2ce78f2b78b6d765c6635b229c82ghsaWEB
News mentions
0No linked articles in our index yet.