CVE Explore

RCE in Kubeai

CVE-2026-34940

CVSS v3
8.7 High
Public exploits
1 repository
EPSS
0.005 · 41.2th percentile
Published
2026-04-06

What to do

Fixed in
0.23.2
Affected
2 affected products

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
High PR:H
User Interaction
None UI:N
Scope
Changed S:C
Confidentiality
High C:H
Integrity
High I:H
Availability
None A:N

EPSS exploit prediction

EPSS 0.005, 41.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

References