cvedb.io
CVE-2026-34940
HIGH · CVSS 8.7
EPSS exploitation probability: 0%
Published 2026-04-06T16:16:37.870 · Last modified 2026-06-17T10:39:51.270

Summary

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 products

kubeai — kubeai

Does this affect you?

Add your gear to cvedb and we'll alert you only when kubeai ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.