CVE-2026-44939Critical· 9.6▾ MidnightRancher vulnerable to command injection through unsanitized YAML parameter
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 52.8 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 4.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
1.3%
1.3% → 1.3%
A critical command injection vulnerability has been identified in the Rancher Manager cluster import endpoint /v3/import/{token}_{clusterId}.yaml through unsanitized YAML parameters. This endpoint accepts an authImage query parameter that is rendered without sanitization into a generated Kubernetes manifest template. By including URL-encoded newlines in the parameter value, an attacker can break out of the image: field to inject arbitrary YAML keys and malicious configurations, such as commands to execute malicious containers.
Exploitation of this vulnerability requires the following conditions to be met:
kubectl apply against a maliciously crafted URL.When a victim applies this compromised manifest using kubectl apply, a DaemonSet is deployed with the injected configuration. This DaemonSet:
hostNetwork: true enabled.cattle service account, which possesses cluster-admin privileges./etc/kubernetes directly from the host.command: field.An attacker who successfully exploits this vulnerability could:
Note: If you believe that you might have been impacted by this vulnerability, it's highly advised to review your clusters' logs and deployment logs for signs of malicious deployments and to rotate all service accounts and credentials that might have been exposed in such a scenario.
Please refer to the associated MITRE ATT&CK - Technique - Deploy Container for further information about this category of attack.
This vulnerability is addressed by validating the authImage parameter to ensure it contains only valid OCI image reference characters, rejecting any input containing newlines, whitespace, or other characters that could break YAML syntax.
Patched versions of Rancher include release v2.14.2, v2.13.6, v2.12.10, v2.11.14 and v2.10.12.
If upgrading to a patched version immediately is not feasible, users are encouraged to apply the following workaround:
kube-api-auth DaemonSet: Inspect downstream clusters for the kube-api-auth DaemonSet within the cattle-system namespace (which targets control-plane nodes). Review this resource configuration carefully for:
command: or args: fields in the container specification.kubectl apply on any import manifests, verify that the source URLs originate from trusted sources and match expected patterns.This security issue was reported by the following collaborators according to our responsible disclosure policy:
If you have any questions or comments about this advisory:
github.com/rancher/rancher >= 2.14.0, < 2.14.2github.com/rancher/rancher >= 2.13.0, < 2.13.6github.com/rancher/rancher >= 2.12.0, < 2.12.10github.com/rancher/rancher >= 2.11.0, < 2.11.14github.com/rancher/rancher >= 2.10.0, < 2.10.12github.com/rancher/rancher < 0.0.0-20260617231817-2aa77eb283e7Upgrade to a patched release:
github.com/rancher/rancher 2.14.2github.com/rancher/rancher 2.13.6github.com/rancher/rancher 2.12.10github.com/rancher/rancher 2.11.14github.com/rancher/rancher 2.10.12github.com/rancher/rancher 0.0.0-20260617231817-2aa77eb283e7Connected by shared product, vendor, weakness, or advisory.
CVE-2023-32196Critical· 9.1Rancher allows privilege escalation in Windows nodes due to Insecure Access Control Lists
CVE-2025-23387Medium· 5.3Rancher's SAML-based login via CLI can be denied by unauthenticated users
CVE-2026-25705High· 8.4Rancher Extensions have arbitrary file access via path traversal
CVE-2024-52281High· 8.9Rancher UI has Stored Cross-site Scripting vulnerability
GHSA-wm2r-rp98-8pmhLowExposure of SSH credentials in Rancher/Fleet
CVE-2021-25320Critical· 9.9Rancher cloud credentials can be used through proxy API by users without access