Read the docs
TI-2026-27164 Aliases CVE-2026-34940GHSA-324q-cwx9-7crr

OS command injection in kubeai-project kubeai

Priority HIGH 73CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00466 40th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed kubeai (kubeai-project): 0.23.2github.com/kubeai-project/kubeai (Go): 0.23.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
kubeai-projectkubeaibefore 0.23.20.23.2Patch availableCNA
—github.com/kubeai-project/kubeai (Go)before 0.23.20.23.2Patch availableGHSA-324q-cwx9-7crr
  • kubeai Vendorkubeai-project Affected before 0.23.2 Fixed in 0.23.2 Patch available CNA
  • github.com/kubeai-project/kubeai (Go) Vendor— Affected before 0.23.2 Fixed in 0.23.2 Patch available GHSA-324q-cwx9-7crr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:kubeai:kubeai:*:*:*:*:*:kubernetes:*:*before 0.23.2VulnerableKubeai
  • cpe:2.3:a:kubeai:kubeai:*:*:*:*:*:kubernetes:*:* Versions before 0.23.2 Vulnerable ·Kubeai

Remediation

  • Fix · CNA kubeai (kubeai-project) Fixed in 0.23.2
  • Fix · GHSA-324q-cwx9-7crr github.com/kubeai-project/kubeai (Go) Fixed in 0.23.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34940
  2. 2026-10-03 Alias added: GHSA-324q-cwx9-7crr

References

Sources