CVE-2026-62182: KubeEdge: ConfigUpdateJob updateFields enables remote shell injection and code execution on edge nodes
Description KubeEdge ConfigUpdateJob processing was vulnerable to command injection on edge nodes. The updateFields values from a ConfigUpdateJob were concatenated into a command string and executed through a system shell.
Published Sep 22, 2026
Affected packages
github.com/kubeedge/kubeedge
- Ecosystem
- Go
- Affected
- >= 1.21.0, < 1.21.2
- Fixed in
- 1.21.2
- Check
go list -m github.com/kubeedge/kubeedge
github.com/kubeedge/kubeedge
- Ecosystem
- Go
- Affected
- >= 1.22.0, < 1.22.2
- Fixed in
- 1.22.2
- Check
go list -m github.com/kubeedge/kubeedge
github.com/kubeedge/kubeedge
- Ecosystem
- Go
- Affected
- >= 1.23.0, < 1.23.1
- Fixed in
- 1.23.1
- Check
go list -m github.com/kubeedge/kubeedge
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
KubeEdge ConfigUpdateJob processing was vulnerable to command injection on edge nodes.
The updateFields values from a ConfigUpdateJob were concatenated into a command string and executed through a system shell. An authenticated user with sufficient permissions to create or update ConfigUpdateJob resources could include shell metacharacters in the supplied configuration fields and cause unintended commands to be executed on targeted edge nodes.
Impact
Successful exploitation could allow an authenticated attacker to execute arbitrary commands on affected edge nodes with the privileges of the KubeEdge process handling the ConfigUpdateJob.
The attacker must already have permission to create or modify ConfigUpdateJob resources and target an enrolled edge node.
Patches
The fix removes shell-based command construction and invokes keadm config-update using structured command arguments.
The complete --set value is passed as a single literal argument, preventing shell metacharacters from being interpreted as commands.
Fixes are planned for the following maintained releases:
- v1.23.1
- v1.22.2
- v1.21.2
Workarounds
Until a patched release is available:
- restrict RBAC permissions for creating or modifying ConfigUpdateJob resources;
- allow only trusted administrators to submit configuration update jobs;
- avoid using ConfigUpdateJob in environments where its input cannot be fully trusted;
- monitor ConfigUpdateJob resources and edge-node process activity for unexpected commands or changes.
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.
Credited to DoisLONG, kevin-wangzefeng.
References
- https://github.com/kubeedge/kubeedge/security/advisories/GHSA-m3c6-2p7h-cfr3
- https://nvd.nist.gov/vuln/detail/CVE-2026-62182
- 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/14f65fc6207787f266cbcb0dceac7f09a81bab2b
- https://github.com/kubeedge/kubeedge/commit/6309a335c8e5e3c154b6bb0a09292f5c7dc598dc
- https://github.com/kubeedge/kubeedge/commit/ee78415a36911c1a93e59a921c23b8e4ecd83e90
- 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/advisories/GHSA-m3c6-2p7h-cfr3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-62369
KubeEdge: keadm DecompressTarGz path traversal enables arbitrary file write on Windows during edge node join
high8.1Sep 22, 2026CVE-2026-62370
KubeEdge: Unbounded allocation in viaduct packer enables authenticated remote DoS against CloudHub
medium6.5Sep 22, 2026CVE-2026-62371
KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
high8.8Sep 22, 2026
