SCA: security update for github.com/lxc/incus/v6 (GHSA-q4q8-7f2j-9h9f)

critical Tenable Self-Hosted Container Security Plugin ID 439370

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-33945)

Solution

Update the github.com/lxc/incus/v6 library and its related packages to version 6.23.0 or later.

See Also

https://github.com/advisories/GHSA-q4q8-7f2j-9h9f

Plugin Details

Severity: Critical

ID: 439370

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 3/27/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.8

Percentile: 96.95

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:C

CVSS Score Source: CVE-2026-33945

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/27/2026

Vulnerability Publication Date: 3/26/2026

Reference Information

CVE: CVE-2026-33945

cwe: CWE-22