CVE-2026-68903
### Summary 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)**. ### Details **Entry point — `Model.spec.source` field** The `Source` field in `api/v1alpha1/model_types.go:47-48` carries a `kubebuilder` validation pattern that explicitly permits absolute paths: ```go // +kubebuilder:validation:Pattern=`^(https?|file|pvc|hf)://.*|^/[^\s]+$|^[a-zA-Z0-9][\w\-\.\/]+$` Source string `json:"source"` ``` The branch `^/[^\s]+$` matches any non-whitespace absolute path on the host. **Sink 1 — Controller-pod arbitrary file read (`copyLocalModel`)** `internal/controller/source.go:93-103` classifies a source as local and extracts the path with no sanitization: ```go // isLocalSource: returns true for any "/" prefix or "file://" prefix func isLocalSource(source string) bool { return strings.HasPrefix(source, "/") || strings.HasPrefix(source, "file://") } // getLocalPath: strips "file://" prefix only; no canonicalization, no allowlist func getLocalPath(source string) string { return strings.TrimPrefix(source, "file://") } ``` `internal/controller/model_controller.go:241` passes the attacker-controlled source into `fetchModel`, which reaches `copyLocalM
Properties
- Summary
- LLMKube: Arbitrary Host File Read via Model.spec.source hostPath Injection
- Severity
- high
- Nvd fetched at
- 2026-11-19T03:31:17.617109+00:00
- Cvss score
- 7.7
- Cvss severity
- HIGH
- Retrieved at
- 2026-11-19T03:32:39+00:00
- Ghsa published
- 2026-11-18T21:18:02Z
- Source url
- https://github.com/advisories/GHSA-jw3m-8q7m-f35r
- Ghsa updated
- 2026-11-18T21:18:03Z
- Ghsa id
- GHSA-jw3m-8q7m-f35r
- Last source
- GitHub Advisory Database
- Score
- 7.7
- Cvss version
- 3.1
- Cve id
- CVE-2026-68903
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- First seen by Signal
- 2026-11-18T23:15:15+00:00
- Name
- CVE-2026-68903
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Published at
- 2026-11-18T20:19:11.687
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph