CVE-2026-62371
KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
Also known as GHSA-5jpj-293f-rhvj, GO-2026-6557
Mitigation
- Upgrade github.com/kubeedge/kubeedge to one of 1.21.2, 1.22.2, 1.23.1 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/kubeedge/kubeedge (>= 1.12.0, < 1.21.2)
- Anyone running kubeedge >= 1.12.0, < 1.21.2; >= 1.22.0, < 1.22.2; >= 1.23.0, < 1.23.1
Vulnerability facts
- Affected
- github.com/kubeedge/kubeedge >= 1.12.0, < 1.21.2
- Fixed in
- 1.21.2, 1.22.2, 1.23.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.89% chance of exploitation in 30 days (percentile 57, 2026-11-26)
- CWE
- CWE-78
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/kubeedge/kubeedge | >= 1.12.0, < 1.21.2 | 1.21.2, 1.22.2, 1.23.1 | osv |
| kubeedge | >= 1.12.0, < 1.21.2; >= 1.22.0, < 1.22.2; >= 1.23.0, < 1.23.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-62371. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-62371.md Affected: github.com/kubeedge/kubeedge >= 1.12.0, < 1.21.2 Fixed in: 1.21.2, 1.22.2, 1.23.1 Steps: 1. Search this machine and project for github.com/kubeedge/kubeedge (Go), kubeedge: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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
Other
- 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
FAQ
Is CVE-2026-62371 being exploited?
There is no confirmed exploitation: CVE-2026-62371 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-62371?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-62371?
github.com/kubeedge/kubeedge >= 1.12.0, < 1.21.2.
Is there a fix for CVE-2026-62371?
Yes. Fixed in 1.21.2, 1.22.2, 1.23.1. Upgrade github.com/kubeedge/kubeedge to one of 1.21.2, 1.22.2, 1.23.1 (or later in the same release line).
How do I check if I'm affected by CVE-2026-62371?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.