cve.bz

CVE-2026-34940

8.8 highEPSS 0.4%

High (8.8) in kubeai kubeai. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/kubeai-project/kubeai 0.23.2.

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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 38% of CVEs (scores of 2026-10-31)
CWE
CWE-78
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-324q-cwx9-7crrGogithub.com/kubeai-project/kubeai<0.23.20.23.2
GO-2026-4920Gogithub.com/kubeai-project/kubeai<0.23.20.23.2

References

Check your stackJSON