CVE-2026-62371 — KubeEdge: Command Injection in...
KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.89%). Schedule for your next planned update.
Does your project use an affected github.com/kubeedge/kubeedge version?
Paste your go.sum to check it for CVE-2026-62371 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The KubeEdge NodeUpgradeJob handler constructed the keadm upgrade edge command by concatenating the user-controlled spec.version and spec.image fields into a shell command.
An authenticated user with permission to create or update NodeUpgradeJob resources through the v1alpha2 API could include shell metacharacters in either field. When the upgrade job was processed, the injected command could be executed on the targeted edge node with the privileges available to the upgrade process.
Successful exploitation could result in arbitrary command execution and compromise the confidentiality, integrity, and availability of the affected edge node.
Patches
The fix removes shell-based command construction and invokes keadm using a structured argument list through exec.Command.
The version and image values are passed as separate literal arguments and are no longer interpreted by a command shell.
The fixed versions:
- KubeEdge v1.23.1
- KubeEdge v1.22.2
- KubeEdge v1.21.2
Workarounds
Until a patched version is available:
- restrict permission to create or update
NodeUpgradeJobresources to trusted administrators; - do not allow untrusted users or tenants to control the
spec.versionorspec.imagefields; - avoid using NodeUpgradeJob-based edge upgrades in environments where these fields may be influenced by untrusted users.
Credits
KubeEdge thanks Sang-Hoon Choi (KoreaSecurity, Sejong University) for responsibly reporting this issue and for coordinating with the KubeEdge maintainers through the security disclosure process.
Advisory Timeline
- First published September 22, 2026 (65 days ago).
- Last revised October 1, 2026 — 9 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/kubeedge/kubeedge@v1.22.2
go get github.com/kubeedge/kubeedge@v1.21.2
go get github.com/kubeedge/kubeedge@v1.23.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/kubeedge/kubeedge Go · Affected: All versions | 1.22.2 |
| github.com/kubeedge/kubeedge Go · Affected: All versions | 1.21.2 |
| github.com/kubeedge/kubeedge Go · Affected: All versions | 1.23.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
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-rhvjWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-62371ADVISORY
- https://github.com/kubeedge/kubeedge/pull/7028WEB
- https://github.com/kubeedge/kubeedge/pull/7029WEB
- https://github.com/kubeedge/kubeedge/pull/7030WEB
- https://github.com/kubeedge/kubeedge/commit/552af457a4c7ce80ea1678ab5889f475b36ea103WEB
- https://github.com/kubeedge/kubeedge/commit/657b745bebcdd7a221eb34c0aac13231ef12c37fWEB
- https://github.com/kubeedge/kubeedge/commit/b72db7f8a0f7be23261b4349eab33024b2007df0WEB
- https://github.com/kubeedge/kubeedgePACKAGE
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.mdWEB
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.22.mdWEB
- https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.23.mdWEB
- https://github.com/kubeedge/kubeedge/releases/tag/v1.21.2WEB
- https://github.com/kubeedge/kubeedge/releases/tag/v1.22.2WEB
- https://github.com/kubeedge/kubeedge/releases/tag/v1.23.1WEB
Frequently Asked Questions
- What is CVE-2026-62371?
- KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-62371?
- CVE-2026-62371 affects github.com/kubeedge/kubeedge. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-62371 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 57.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-108262HIGH
DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885
- CVE-2026-62369HIGH
KubeEdge: keadm DecompressTarGz path traversal enables arbitrary file write on Windows during edge node join
- CVE-2026-62182HIGH
KubeEdge: ConfigUpdateJob updateFields enables remote shell injection and code execution on edge nodes
- CVE-2026-130007HIGH
k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution