Live threats

All CVEs / Linuxcontainers

CVE-2026-33945Linuxcontainers Incus

Critical 9.6

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Incus.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
linuxcontainersincus< 6.23.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.