VYPR
High severity8.7NVD Advisory· Published Apr 6, 2026· Updated Apr 15, 2026

CVE-2026-34940

CVE-2026-34940

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/kubeai-project/kubeaiGo
< 0.23.20.23.2

Affected products

1
  • cpe:2.3:a:kubeai:kubeai:*:*:*:*:*:kubernetes:*:*
    Range: <0.23.2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.