SCA: security update for github.com/lxc/incus/v6/cmd/incusd (GHSA-4m88-wxj4-9qj6)

high Tenable Self-Hosted Container Security Plugin ID 441056

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. In versions before 7.0.0, missing validation
logic in the storage volume import logic allows an authenticated user with access to the storage volume
feature to cause the Incus daemon to crash. The backup restore subsystem contains an out-of-bounds panic
vulnerability caused by an invalid bounds check when indexing snapshot metadata arrays, and the same
flawed pattern also appears in the migration path. When iterating through physical snapshots provided in a
backup archive, the loop uses the index to look up corresponding metadata in the parsed `Config.Snapshots`
and `Config.VolumeSnapshots` slices. The guard condition `len(slice) >= i-1` is incorrect because it can
still evaluate to true when the subsequent slice[i] access is out of bounds. An attacker can submit a
backup archive that contains physical snapshot directories while supplying a tampered `index.yaml` with an
empty or truncated snapshot metadata array, causing the daemon to index beyond the end of the metadata
slice and crash. Repeated use of this issue can be used to keep Incus offline, causing a denial of
service. This issue is fixed in version 7.0.0. (CVE-2026-40251)

Solution

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

See Also

https://github.com/advisories/GHSA-4m88-wxj4-9qj6

Plugin Details

Severity: High

ID: 441056

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 5/4/2026

Updated: 7/6/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.71

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2026-40251

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

CVSS v4

Risk Factor: High

Base Score: 7.1

Threat Score: 7.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/4/2026

Vulnerability Publication Date: 5/4/2026

Reference Information

CVE: CVE-2026-40251