CVE-2026-62371 KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
Authenticated users can inject shell commands into NodeUpgradeJob fields, leading to remote code execution on edge nodes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-62371?
CVE-2026-62371 is a high-severity command injection vulnerability in kubeedge, published on 21 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
KubeEdge is an open source system for extending native containerized application orchestration capabilities to hosts at Edge. From 1.12.0 until 1.21.2, 1.22.2, and 1.23.1, the v1alpha2 NodeUpgradeJob handler in edge/pkg/taskmanager/actions/nodeupgradejob.go concatenates authenticated user-controlled spec.version and spec.image values into the keadm upgrade edge shell command. A user with permission to create or update NodeUpgradeJob resources can supply shell metacharacters in either field, causing arbitrary commands to execute on targeted edge nodes with the privileges of the upgrade process and compromising node confidentiality, integrity, and availability. This issue is fixed in versions 1.21.2, 1.22.2, and 1.23.1.
Weakness: CWE-78
Which versions are affected by CVE-2026-62371?
7 open source packages ship an affected version, including github.com/kubeedge/kubeedge.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kubeedge/kubeedge Go | From 1.12.0 | 1.21.2, 1.22.2, 1.23.1 |
github.com/kubeedge/kubeedge Go | From 1.12.0 | 1.21.2 |
github.com/kubeedge/kubeedge Go | From 1.12.0 | 1.21.2 |
github.com/kubeedge/kubeedge Go | From 1.22.0 | 1.22.2 |
github.com/kubeedge/kubeedge Go | From 1.22.0 | 1.22.2 |
github.com/kubeedge/kubeedge Go | From 1.23.0 | 1.23.1 |
1 more packages
github.com/kubeedge/kubeedge Go | From 1.23.0 | 1.23.1 |
How do I fix CVE-2026-62371?
Upgrade github.com/kubeedge/kubeedge to a fixed version for your release line: 1.21.2, 1.22.2 or 1.23.1.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-62371 being exploited?
There is no known exploitation of CVE-2026-62371 in the wild and no public exploit code.
Sources
Also known as GHSA-5jpj-293f-rhvj, GO-2026-6557.