cbcvebase.
CVE-2026-33945
published 2026-03-27

CVE-2026-33945: 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…

PriorityP260critical9.6CVSS 3.1
AVNACLPRLUINSCCNIHAH
EPSS
0.45%
36.2th percentile
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.

Affected

6 ranges
VendorProductVersion rangeFixed in
debianincus< incus 6.0.6-2 (forky)incus 6.0.6-2 (forky)
debianlxd< incus 6.0.6-2 (forky)incus 6.0.6-2 (forky)
github.comlxc_incus_v6>= 0 < 6.23.06.23.0
linuxcontainersincus< 6.23.06.23.0
lxcincus< 6.23.06.23.0
lxcincus>= 0 < 6.0.6-26.0.6-2

Detection & IOCsextracted from sources · hover to see the quote

path../../../../../../root/.bashrc
  • Monitor Incus container configuration keys matching the pattern `systemd.credential.*` where the credential name (XYZ portion) contains path traversal sequences (e.g., `..`) — this is the attack vector for arbitrary file writes as root.
  • Alert on any file write operations originating from the Incus credentials shared directory that resolve to paths outside of the container's designated `credentials` directory, particularly targeting sensitive root-owned files.
  • Audit Incus instance configuration for `systemd.credential` keys whose XYZ suffix contains period-separated path components that include `..` traversal sequences, as the Incus syntax allows XYZ itself to contain periods.
  • ·Vulnerability is local-scope only — the attacker must already have the ability to configure Incus instances (set configuration keys) to exploit this path traversal. Remote exploitation is not possible without prior access.
  • ·The vulnerability only allows arbitrary file *writes* as root, not reads — data exfiltration via this vector is not possible, but privilege escalation and DoS are.
  • ·This vulnerability affects containers only (not VMs), as the systemd credential sharing for VMs uses a different mechanism than the shared directory used for containers.

CVSS provenance

nvdv3.19.6CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
osv9.6CRITICAL
vendor_debian9.9CRITICAL
vendor_redhat9.9CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.