ADVISORIES

Vulnerability

CVE-2026-34940

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.

3 advisories report this vulnerability, across 2 ecosystems.

High severity All Go 2openSUSE 1

Advisories in Go

  • GHSA-324q-cwx9-7crr

    KubeAI: OS Command Injection via Model URL in Ollama Engine startup probe allows arbitrary command execution in model pods

    High CVE-2026-34940 Go Updated 15 April 2026
  • GO-2026-4920

    KubeAI: OS Command Injection via Model URL in Ollama Engine startup probe allows arbitrary command execution in model pods in github.com/kubeai-project/kubeai

    CVE-2026-34940 Go Updated 6 April 2026

References