CVE-2026-44939 — Vulnerability in github.com/rancher/rancher
Rancher vulnerable to command injection through unsanitized YAML parameter
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.46%). Schedule for your next planned update.
Does your project use an affected github.com/rancher/rancher version?
Paste your go.sum to check it for CVE-2026-44939 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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:
- Attackers must obtain a valid cluster registration token (these tokens may be exposed, for example, through documentation, screenshots, or insecure communication channels).
- The victim’s cluster operator must execute
kubectl applyagainst a maliciously crafted URL.
When a victim applies this compromised manifest using kubectl apply, a DaemonSet is deployed with the injected configuration. This DaemonSet:
- Runs on all control-plane nodes with
hostNetwork: trueenabled. - Uses the
cattleservice account, which possessescluster-adminprivileges. - Mounts
/etc/kubernetesdirectly from the host. - Executes attacker-controlled commands via the injected
command:field.
An attacker who successfully exploits this vulnerability could:
- Achieve full control over downstream Kubernetes clusters.
- Execute arbitrary code on control-plane nodes with elevated privileges.
- Access sensitive cluster secrets and configurations via the privileged service account.
- Disrupt cluster operations by manipulating critical control-plane workloads.
- Establish persistent access through the deployed DaemonSet.
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.
Patches
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.
Workarounds
If upgrading to a patched version immediately is not feasible, users are encouraged to apply the following workaround:
- Review the
kube-api-authDaemonSet: Inspect downstream clusters for thekube-api-authDaemonSet within thecattle-systemnamespace (which targets control-plane nodes). Review this resource configuration carefully for:- Unexpected
command:orargs:fields in the container specification. - References to non-standard or suspicious container images.
- Any modifications occurring after the initial cluster import.
- Unexpected
- Validate manifest integrity: Before running
kubectl applyon any import manifests, verify that the source URLs originate from trusted sources and match expected patterns.
Credits
This security issue was reported by the following collaborators according to our responsible disclosure policy:
- Radisauskas Arnoldas from NATO and the NATO Cyber Security Centre (NCSC).
- Michael Wollner from Deutsche Telekom AG.
References
If you have any questions or comments about this advisory:
- Reach out to the SUSE Rancher Security team for security related inquiries.
- Open an issue in the Rancher repository.
- Verify with our support matrix and product support lifecycle.
Advisory Timeline
- First published July 1, 2026 (148 days ago).
- Last revised September 10, 2026 — 70 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rancher/rancher@v2.13.6
go get github.com/rancher/rancher@v2.11.14
go get github.com/rancher/rancher@v0.0.0-20260617231817-2aa77eb283e7
go get github.com/rancher/rancher@v2.10.12
go get github.com/rancher/rancher@v2.14.2
go get github.com/rancher/rancher@v2.12.10
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/rancher/rancher Go · Affected: All versions | 2.13.6 |
| github.com/rancher/rancher Go · Affected: All versions | 2.11.14 |
| github.com/rancher/rancher Go · Affected: All versions | 0.0.0-20260617231817-2aa77eb283e7 |
| github.com/rancher/rancher Go · Affected: All versions | 2.10.12 |
| github.com/rancher/rancher Go · Affected: All versions | 2.14.2 |
| github.com/rancher/rancher Go · Affected: All versions | 2.12.10 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-95
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-44939?
- Rancher vulnerable to command injection through unsanitized YAML parameter. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2026-44939?
- CVE-2026-44939 affects github.com/rancher/rancher. It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44939 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 73.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-22647CRITICAL
Rancher vulnerable to Privilege Escalation via manipulation of Secrets
- CVE-2026-41052CRITICAL
Rancher has Privilege Escalation from Project Owner to Host
- CVE-2019-11202CRITICAL
Rancher Recreates Default User With Known Password Despite Deletion
- CVE-2024-52281HIGH
Rancher UI has Stored Cross-site Scripting vulnerability
- CVE-2024-58259HIGH
Rancher affected by unauthenticated Denial of Service
- CVE-2025-23389HIGH
Rancher does not Properly Validate Account Bindings in SAML Authentication Enables User Impersonation on First Login
- CVE-2024-58267HIGH
Rancher CLI SAML authentication is vulnerable to phishing attacks
- CVE-2022-45157HIGH
Exposure of vSphere's CPI and CSI credentials in Rancher