KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | kubeedge | 1.12.0 to before 1.21.2; 1.22.0 to before 1.22.2; 1.23.0 to before 1.23.1 | 1.21.2, 1.22.2, 1.23.1 | Patch available | CNA |
| — | github.com/kubeedge/kubeedge (Go) | 1.12.0 to before 1.21.2 | 1.21.2 | Patch available | GHSA-5jpj-293f-rhvj |
| — | github.com/kubeedge/kubeedge (Go) | 1.22.0 to before 1.22.2 | 1.22.2 | Patch available | GHSA-5jpj-293f-rhvj |
| — | github.com/kubeedge/kubeedge (Go) | 1.23.0 to before 1.23.1 | 1.23.1 | Patch available | GHSA-5jpj-293f-rhvj |
- kubeedge Vendorbackstage Affected 1.12.0 to before 1.21.2; 1.22.0 to before 1.22.2; 1.23.0 to before 1.23.1 Fixed in 1.21.2, 1.22.2, 1.23.1 Patch available CNA
- github.com/kubeedge/kubeedge (Go) Vendor— Affected 1.12.0 to before 1.21.2 Fixed in 1.21.2 Patch available GHSA-5jpj-293f-rhvj
- github.com/kubeedge/kubeedge (Go) Vendor— Affected 1.22.0 to before 1.22.2 Fixed in 1.22.2 Patch available GHSA-5jpj-293f-rhvj
- github.com/kubeedge/kubeedge (Go) Vendor— Affected 1.23.0 to before 1.23.1 Fixed in 1.23.1 Patch available GHSA-5jpj-293f-rhvj
Remediation
- Fix · CNA kubeedge (kubeedge) Fixed in 1.21.2, 1.22.2, 1.23.1
- Fix · GHSA-5jpj-293f-rhvj github.com/kubeedge/kubeedge (Go) Fixed in 1.21.2 Advisory →
- Fix · GHSA-5jpj-293f-rhvj github.com/kubeedge/kubeedge (Go) Fixed in 1.22.2 Advisory →
- Fix · GHSA-5jpj-293f-rhvj github.com/kubeedge/kubeedge (Go) Fixed in 1.23.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-62371
- 2026-10-03 Alias added: GHSA-5jpj-293f-rhvj
References
Other 14
- https://github.com/kubeedge/kubeedge/security/advisories/GHSA-5jpj-293f-rhvj
- https://github.com/kubeedge/kubeedge/pull/7028
- https://github.com/kubeedge/kubeedge/pull/7029
- https://github.com/kubeedge/kubeedge/pull/7030
- https://github.com/kubeedge/kubeedge/commit/552af457a4c7ce80ea1678ab5889f475b36ea103
- https://github.com/kubeedge/kubeedge/commit/657b745bebcdd7a221eb34c0aac13231ef12c37f
- https://github.com/kubeedge/kubeedge/commit/b72db7f8a0f7be23261b4349eab33024b2007df0
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.22.md
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.23.md
- https://github.com/kubeedge/kubeedge/releases/tag/v1.21.2
- https://github.com/kubeedge/kubeedge/releases/tag/v1.22.2
- https://github.com/kubeedge/kubeedge/releases/tag/v1.23.1
- https://github.com/kubeedge/kubeedge
More backstage vulnerabilities
- TI-2026-33119 Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys KEVCVSS 3.1CRITICAL 9.6
- TI-2018-10499 Integer overflow in backstage kernel KEVCVSS 3.0HIGH 7.8
- TI-2024-08998 Remote Code Execution in kedro-org/kedro CVSS 3.0CRITICAL 9.8
- TI-2023-12294 Dragonfly2 vulnerable to hard coded cyptographic key CVSS 3.1CRITICAL 9.8
- TI-2021-12074 Authentication vulnerability in MOSN v.0.23.0 allows attacker to escalate privileges via… CVSS 3.1CRITICAL 9.8
- TI-2019-04061 runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows… CVSS 3.1HIGH 8.6
Sources
- CVE-2026-62371 · CVE Program
- CVE-2026-62371 · NVD
- FIRST EPSS
- GHSA-5jpj-293f-rhvj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences