Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-33945 EUVD-2026-16492GHSA-q4q8-7f2j-9h9fGO-2026-4884

Abitrary file write through systemd-creds option

Published Mar 26, 2026 · Updated Mar 27, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
lxc incus < 6.23.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 incus 6.0.6-2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 incus No fix yet —
Ubuntu 25.10 incus No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed incus 6.23-1.1 openSUSE-SU-2026:10450-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/lxc/incus all versions — GO-2026-4884
Go github.com/lxc/incus/v6 < 6.23.0 6.23.0 GHSA-q4q8-7f2j-9h9f

Advisories 2

References