Vulnerabilities / CVE-2026-33945

critical

CVE-2026-33945

incus: Incus: Privilege escalation and denial of service via path traversal in systemd credential configuration

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
GHSA10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Red Hat9.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat.

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.

Affected packages and fixed versions

SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/lxc/incus/v66.23.0
debian 14incus6.0.6-2
rapidfort alpine 3.20incus7.0.0-r0
rapidfort alpine 3.21incus7.0.0-r0
rapidfort alpine 3.22incus7.0.0-r0
rapidfort alpine 3.23incus7.0.0-r0
rapidfort debian 12incus0:6.0.6-2
rapidfort debian 13incus0:6.0.6-2
rapidfort fedora 43incus, incus-agent, incus-client and 2 more6.23-2.fc43
rapidfort ubuntu 20.04incus0:7.0.0-1
rapidfort ubuntu 22.04incus0:7.0.0-1
rapidfort ubuntu 24.04incus0:7.0.0-1
Show all 16 entries from 12 sources
SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/lxc/incus/v66.23.0
debian 14incus6.0.6-2
rapidfort alpine 3.20incus7.0.0-r0
rapidfort alpine 3.21incus7.0.0-r0
rapidfort alpine 3.22incus7.0.0-r0
rapidfort alpine 3.23incus7.0.0-r0
rapidfort debian 12incus0:6.0.6-2
rapidfort debian 13incus0:6.0.6-2
rapidfort fedora 43incus6.23-2.fc43
rapidfort fedora 43incus-agent6.23-2.fc43
rapidfort fedora 43incus-client6.23-2.fc43
rapidfort fedora 43incus-selinux6.23-2.fc43
rapidfort fedora 43incus-tools6.23-2.fc43
rapidfort ubuntu 20.04incus0:7.0.0-1
rapidfort ubuntu 22.04incus0:7.0.0-1
rapidfort ubuntu 24.04incus0:7.0.0-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.