CVE-2026-33945Linuxcontainers Incus
Critical 9.6
Follow: this CVE · Linuxcontainers · Linuxcontainers Incus We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 27, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Incus.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/lxc/incus |
all |
no fixed version | — |
| Go | github.com/lxc/incus/v6 |
< 6.23.0 |
6.23.0 |
go get github.com/lxc/incus/v6@v6.23.0 |
| Go | github.com/lxc/incus/v6 |
< 6.23.0 |
6.23.0 |
go get github.com/lxc/incus/v6@v6.23.0 |
Per OSV / GitHub Advisories (GO-2026-4884, GHSA-q4q8-7f2j-9h9f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxcontainers | incus | < 6.23.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- incus-6.23-1.1 on GA media · SUSE · openSUSE-SU-2026:10450-1 · Mar 28, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory