Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-34940

8.7 · HIGH
Published Apr 6, 2026 kubeai CWE-78

Overview

CVE-2026-34940 is a high-severity vulnerability affecting kubeai kubeai. It was published on April 6, 2026 and has a CVSS 3.1 base score of 8.7 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from kubeai. Update kubeai to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
kubeai kubeai >= 0, < 0.23.2 Affected

Frequently Asked Questions

What is CVE-2026-34940?

CVE-2026-34940 is a high-severity vulnerability affecting kubeai kubeai. It was published on April 6, 2026 and has a CVSS 3.1 base score of 8.7 (HIGH).

How severe is CVE-2026-34940?

This vulnerability has a CVSS 3.1 base score of 8.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-34940?

Check the references section for vendor advisories and patches from kubeai. Update kubeai to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-34940?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-34940 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026