CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-34940

High
Published: Translated: NVD NIST

Summary

KubeAI to operator inferencji AI dla Kubernetes. W wersjach przed 0.23.2 funkcja ollamaStartupProbeScript() w pliku internal/modelcontroller/engine_ollama.go tworzy ciąg polecenia powłoki z użyciem fmt.Sprintf z niesanitizowanymi komponentami URL modelu. To polecenie jest wykonywane za pomocą bash -c jako probe startowy Kubernetes.

Risk Assessment

Atakujący, który może tworzyć lub aktualizować zasoby Model, może wstrzykiwać dowolne polecenia powłoki, które będą wykonywane w podach serwera modelu, co stwarza poważne zagrożenie dla bezpieczeństwa aplikacji.

Recommendation

Zaleca się aktualizację KubeAI do wersji 0.23.2 lub nowszej, aby usunąć tę podatność i zabezpieczyć środowisko Kubernetes.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS