Loading...
Skip to main content

CVE-2026-62371 — KubeEdge: Command Injection in...

HIGH

KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API

Published September 22, 2026Updated October 1, 2026Source: osv

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 `NodeUpgradeJob` resources to trusted administrators; * do not allow untrusted users or tenants to control the `spec.version` or `spec.image` fields; * avoid using NodeUpgradeJob-based edge upgrades in environments where these fields may be influenced by untrusted users. ## Credits KubeEdge thanks Sang-Hoon Choi ([KoreaSecurity](https://github.com/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 (20 days ago).
  • Last revised October 1, 2026 — 9 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/kubeedge/kubeedge to 1.22.2 or later
go get github.com/kubeedge/kubeedge@v1.22.2
Go
Update github.com/kubeedge/kubeedge to 1.21.2 or later
go get github.com/kubeedge/kubeedge@v1.21.2
Go
Update github.com/kubeedge/kubeedge to 1.23.1 or later
go get github.com/kubeedge/kubeedge@v1.23.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/kubeedge/kubeedge
go
All versions1.22.2
github.com/kubeedge/kubeedge
go
All versions1.21.2
github.com/kubeedge/kubeedge
go
All versions1.23.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-62371 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-5jpj-293f-rhvj
GO-2026-6557

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-62369
    HIGH

    KubeEdge: keadm DecompressTarGz path traversal enables arbitrary file write on Windows during edge node join

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

  • CVE-2026-62182
    HIGH

    KubeEdge: ConfigUpdateJob updateFields enables remote shell injection and code execution on edge nodes

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies