CVE-2026-44939 Command injection through unsanitized YAML parameter in Rancher

Critical 9.4 Published Updated

Remote attackers can execute malicious containers via command injection in the Rancher cluster import endpoint.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-44939?

CVE-2026-44939 is a critical command injection vulnerability in SUSE Rancher, published on 19 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A command injection vulnerability in the Rancher Manager cluster before 2.14.2 import endpoint /v3/import/{token}_{clusterId}.yaml through unsanitized YAML parameters could allow remote attackers to break out of an image, and execute e.g. malicious containers.

Weakness: CWE-95

Which versions are affected by CVE-2026-44939?

13 open source packages ship an affected version, including github.com/rancher/rancher.

PackageAffectedFixed in
github.com/rancher/rancher GoAll versions0.0.0-20260617231817-2aa77eb283e7
github.com/rancher/rancher GoAll versions0.0.0-20260617231817-2aa77eb283e7
github.com/rancher/rancher GoAll versions0.0.0-20260617231817-2aa77eb283e7
github.com/rancher/rancher GoFrom 2.10.02.10.12
github.com/rancher/rancher GoFrom 2.10.02.10.12
github.com/rancher/rancher GoFrom 2.11.02.11.14
7 more packages
github.com/rancher/rancher GoFrom 2.11.02.11.14
github.com/rancher/rancher GoFrom 2.12.02.12.10
github.com/rancher/rancher GoFrom 2.12.02.12.10
github.com/rancher/rancher GoFrom 2.13.02.13.6
github.com/rancher/rancher GoFrom 2.13.02.13.6
github.com/rancher/rancher GoFrom 2.14.02.14.2
github.com/rancher/rancher GoFrom 2.14.02.14.2

How do I fix CVE-2026-44939?

Upgrade github.com/rancher/rancher to a fixed version for your release line: 0.0.0-20260617231817-2aa77eb283e7, 2.10.12, 2.11.14 or 2.12.10.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-44939 being exploited?

There is no known exploitation of CVE-2026-44939 in the wild and no public exploit code.

Sources

Also known as GHSA-mhc6-2gfq-xx62, GO-2026-5875.

Is CVE-2026-44939 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free