8.7
/ 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Description
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.
AI Analysis
OS Command Injection via Model URL in Ollama Engine startup probe allows arbitrary command execution in model pods
Basic Information
ID
CVE-2026-34940
Source
GitHub_M
Published
Apr 6, 2026 at 15:49
Modified
Apr 15, 2026 at 21:05
Affected Product
Vendor
kubeai-project
Product
kubeai
Version
< 0.23.2
Affected Versions
kubeai-project kubeai < 0.23.2
CWE Classification
AI Assessment
AI Score
8.7 / 10
AI Severity
High
Vendor
KubeAI Project
Product
KubeAI
Version
< 0.23.2