Vulnerability · Published Sep 21, 2026 · Assigned by GitHub_M
CVE-2026-62371KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
High 8.8
In plain English
A high-severity OS command injection in kubeedge from kubeedge. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubeedge/kubeedge | 1.21.2 | GHSA-5jpj-293f-rhvj |
| Go | github.com/kubeedge/kubeedge | 1.22.2 | GHSA-5jpj-293f-rhvj |
| Go | github.com/kubeedge/kubeedge | 1.23.1 | GHSA-5jpj-293f-rhvj |
| Go | github.com/kubeedge/kubeedge | 1.21.2, 1.22.2, 1.23.1 | GO-2026-6557 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/kubeedge/kubeedge/security/advisories/GHSA-5jpj-293f-rhvj x_refsource_CONFIRM
- https://github.com/kubeedge/kubeedge/pull/7028 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/pull/7029 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/pull/7030 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/commit/552af457a4c7ce80ea1678ab5889f475b36ea103 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/commit/657b745bebcdd7a221eb34c0aac13231ef12c37f x_refsource_MISC
- https://github.com/kubeedge/kubeedge/commit/b72db7f8a0f7be23261b4349eab33024b2007df0 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md x_refsource_MISC
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.22.md x_refsource_MISC
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.23.md x_refsource_MISC
- https://github.com/kubeedge/kubeedge/releases/tag/v1.21.2 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/releases/tag/v1.22.2 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/releases/tag/v1.23.1 x_refsource_MISC