Security mailing lists by PureSourceCode

CVE-2026-34940

HIGH 8.8CVSS 3.1

KubeAI: 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.

Published
6 Apr 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-324q-cwx9-7crrGO-2026-4920
Sources
NVDJSONOSV GHSA-324q-cwx9-7crrJSONOSV GO-2026-4920JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD kubeai kubeai
cpe:2.3:a:kubeai:kubeai:*:*:*:*:*:kubernetes:*:*
< 0.23.2 0.23.2
OSV Go github.com/kubeai-project/kubeai < 0.23.2 0.23.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.