PoC Monitor
← All CVEs
CVE-2026-34940published 6 Apr 2026 15:49 UTCData: JSON · API

KubeAI

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

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.

First public PoC 23 daysafter publication · 29 Apr 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by NVD · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

kubeai-project kubeai
  • < 0.23.2

Fixed in 0.23.2

Mitigation

Upgrade kubeai to 0.23.2 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21CVE published6 Apr 2026 · t = 0First public PoC29 Apr 2026 · t+23d

First public PoC 23 days after publication; not in CISA KEV. First PoC: romain-deperne/CVE-2026-34940 (created 29 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
romain-deperne/CVE-2026-34940 29 Apr 2026 +23 d 0 PoC via PoC Index
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.