CVE-2026-68903: LLMKube: Arbitrary Host File Read via Model.spec.source hostPath Injection
LLMKube’s ModelReconciler accepts arbitrary absolute paths and file:// URIs in the Model.spec.source field and propagates them to two distinct sinks without path allowlisting: (1) os.Open() inside the controller pod itself (copyLocalModel), and (2) a Kubernetes HostPathVolumeSource that mounts the attacker-supplied path into the inference pod’s init container. Any namespace user with permission to create or update Model and InferenceService custom resources can read arbitrary files accessible to the controller pod (e.g., the controller’s own Kubernetes service-account token) or arbitrary files on the node where the inference pod is scheduled (e.g., /etc/kubernetes/kubelet.conf). Model caching, the feature that activates the hostPath sink, is enabled by default in both the CLI and the official Helm chart. CVSS v3.1 Base Score: 7.7 (High).
References
- github.com/advisories/GHSA-jw3m-8q7m-f35r
- github.com/defilantech/LLMKube/commit/ec2647fd4557962a971a1bc9435790b8e77ce961
- github.com/defilantech/LLMKube/pull/981
- github.com/defilantech/LLMKube/releases/tag/v0.9.0
- github.com/defilantech/LLMKube/security/advisories/GHSA-jw3m-8q7m-f35r
- nvd.nist.gov/vuln/detail/CVE-2026-68903
Code Behaviors & Features
Detect and mitigate CVE-2026-68903 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →