Chainguard: multiple k3s-1.31 packages: security update to 1.31.6.1-r31

high Tenable Self-Hosted Container Security Plugin ID 480898

Description

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

- Building a malicious package that uses "#cgo pkg-config:" directives could load untrusted pkg-config ".pc"
files or inject unvalidated compiler and linker flags. The pkg-config flag allowlist previously permitted
"--with-path=" and "--personality=", allowed "--define-variable=" values beginning with "=" or "$" (which
can rewrite paths in system ".pc" files into sysroot-prefixed "-L=" or "-L$SYSROOT" linker search paths),
and allowed package arguments ending in ".pc" or containing path separators or "..", which caused pkg-
config to load local ".pc" files directly from the package directory. In addition, flags returned by "pkg-
config --cflags" in cgoCPPFLAGS were not checked when determining whether internal linking is safe. The go
command now disallows "--with-path=", "--personality=", leading "=" or "$" characters in "--define-
variable=" values, and local ".pc" paths in "#cgo pkg-config:" directives, and inspects cgoCPPFLAGS when
checking internal linking compatibility. (CVE-2026-97039)

Solution

Update the k3s-1.31 library and its related packages to version 1.31.6.1-r31 or later.

Plugin Details

Severity: High

ID: 480898

Version: Revision 1.1

Type: Local

Published: 11/20/2026

Updated: 11/20/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

Percentile: 57.84

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-97039

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/11/2026

Reference Information

CVE: CVE-2026-97039