Live threats

All CVEs / Kubeai

CVE-2026-34940Kubeai

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
—
Auth required
Yes
Published
Apr 6, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kubeai.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/kubeai-project/kubeai < 0.23.2 0.23.2 go get github.com/kubeai-project/kubeai@v0.23.2
Go github.com/kubeai-project/kubeai < 0.23.2 0.23.2 go get github.com/kubeai-project/kubeai@v0.23.2

Per OSV / GitHub Advisories (GHSA-324q-cwx9-7crr, GO-2026-4920). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kubeaikubeai< 0.23.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.