CVE-2026-62371

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

Published Sep 21, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the NodeUpgradeJob handler concatenating user-controllable spec.version and spec.image values into a shell command without sanitization, allowing an authenticated user who can create or update NodeUpgradeJob resources to inject shell metacharacters and execute arbitrary commands on edge nodes with the privileges of the upgrade process. This compromise affects node confidentiality, integrity, and availability.

Affected Systems

KubeEdge is affected; the flaw exists in releases from 1.12.0 through 1.21.1, 1.22.1, and 1.23.0, and was fixed in versions 1.21.2, 1.22.2, and 1.23.1. Legacy installations prior to v1.12.0 are not impacted.

Risk and Exploitability

With a CVSS score of 8.8, this is a high severity issue. The EPSS score is not available, so current exploitation probability is uncertain, but the lack of a KEV listing indicates no known active exploits. Based on the description, it is inferred that the attack vector is authenticated use of the Kubernetes API to create or update NodeUpgradeJob resources; once an attacker can do so, they can inject commands that run with the privileges of the upgrade process, granting them the ability to compromise the entire edge node.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade KubeEdge to version 1.21.2 or later (including 1.22.2 and 1.23.1) to apply the fix.
  • Restrict RBAC permissions for creating or updating NodeUpgradeJob resources to prevent unauthenticated users from providing malicious input.
  • Sanitize or escape shell metacharacters in spec.version and spec.image fields before constructing shell commands.

Generated by OpenCVE AI on September 21, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5jpj-293f-rhvj KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kubeedge
Kubeedge kubeedge
Vendors & Products Kubeedge
Kubeedge kubeedge
Type Values Removed Values Added
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.
Title KubeEdge: Command Injection in NodeUpgradeJob - RCE on edge nodes via v1alpha2 API
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 21, 2026, 6:59 PM
Reserved
Jul 13, 2026, 10:04 PM
Status
Awaiting Analysis
Published
Sep 21, 2026, 5:17 PM
Modified
Sep 24, 2026, 9:19 PM