SCA: security update for github.com/kubeai-project/kubeai (GHSA-324q-cwx9-7crr)

high Tenable Cloud Security Plugin ID 439611

Description

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

- KubeAI is an AI inference operator for kubernetes. Prior to 0.23.2, the ollamaStartupProbeScript()
function in internal/modelcontroller/engine_ollama.go constructs a shell command string using fmt.Sprintf
with unsanitized model URL components (ref, modelParam). This shell command is executed via bash -c as a
Kubernetes startup probe. An attacker who can create or update Model custom resources can inject arbitrary
shell commands that execute inside model server pods. This vulnerability is fixed in 0.23.2.
(CVE-2026-34940)

Solution

Update the github.com/kubeai-project/kubeai library and its related packages to version 0.23.2 or later.

See Also

https://github.com/advisories/GHSA-324q-cwx9-7crr

Plugin Details

Severity: High

ID: 439611

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/2/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2026-34940

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/1/2026

Vulnerability Publication Date: 4/1/2026

Reference Information

CVE: CVE-2026-34940

cwe: CWE-78