All vulnerabilities

Servers and applications

CVE-2026-44939

Command injection through unsanitized YAML parameter in Rancher

Severity
Critical 9.4
Published
27 May 2026
Last changed
3 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.10.12, 2.11.14, 2.12.10, 2.13.6, 2.14.2
Exploit chance
1.3% in the next 30 daysHigher than 70% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Eval injection (CWE-95)
Attack
Over the network · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Also known as
GHSA-mhc6-2gfq-xx62
Sources
CVE Program, Project advisories (GitHub)

Description

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 apply against a maliciously crafted URL.
From rancher/rancher's security advisory. Shortened; the full text is there.

Workarounds

If upgrading to a patched version immediately is not feasible, users are encouraged to apply the following workaround:

  • Review the 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:
  • Unexpected command: or args: fields in the container specification.
  • References to non-standard or suspicious container images.
  • Any modifications occurring after the initial cluster import.
Workarounds as given by rancher/rancher's security advisory.

Affected software

SoftwareAffected versions
RancherServers and applications · cna:suse|rancher
  • From 2.10.0 before 2.10.12
  • From 2.11.0 before 2.11.14
  • From 2.12.0 before 2.12.10
  • From 2.13.0 before 2.13.6
  • From 2.14.0 before 2.14.2
RancherServers and applications · github:rancher/rancher
  • From 2.10.0 before 2.10.12
  • From 2.11.0 before 2.11.14
  • From 2.12.0 before 2.12.10
  • From 2.13.0 before 2.13.6
  • From 2.14.0 before 2.14.2

About Rancher

Complete container management platform

From its GitHub repository.
Teams using it daily
More than 30,000Rancher
Docker Hub pulls
320,721,144Docker Hub, 15 Nov 2026
GitHub stars
26,057GitHub, 15 Nov 2026
Forks
3,226GitHub, 15 Nov 2026
Latest release
v2.15.3GitHub, 15 Nov 2026
Released
29 Oct 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
7 Nov 2014GitHub

Release lines

ReleaseLatestSecurity fixes
2.152.15.3Until 27 Feb 2028
2.142.14.7Until 10 Oct 2027
2.132.13.11Until 17 Jun 2027
2.122.12.15Until 28 Feb 2027
2.112.11.19Ended 24 Oct 2026
2.102.10.12Ended 19 Jun 2026

From endoflife.date.

References