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. 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 f
GHSA-m3c6-2p7h-cfr3
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-m3c6-2p7h-cfr3
github.com/kubeedge/kubeedge
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.21.2
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
github.com/kubeedge/kubeedge
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.22.2
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
github.com/kubeedge/kubeedge
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.23.1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.21.0"
},
{
"fixed": "1.21.2"
}
]
}
],
"package": {
"name": "github.com/kubeedge/kubeedge",
"purl": "pkg:golang/github.com/kubeedge/kubeedge",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-m3c6-2p7h-cfr3/GHSA-m3c6-2p7h-cfr3.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.22.0"
},
{
"fixed": "1.22.2"
}
]
}
],
"package": {
"name": "github.com/kubeedge/kubeedge",
"purl": "pkg:golang/github.com/kubeedge/kubeedge",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-m3c6-2p7h-cfr3/GHSA-m3c6-2p7h-cfr3.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.23.0"
},
{
"fixed": "1.23.1"
}
]
}
],
"package": {
"name": "github.com/kubeedge/kubeedge",
"purl": "pkg:golang/github.com/kubeedge/kubeedge",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-m3c6-2p7h-cfr3/GHSA-m3c6-2p7h-cfr3.json"
}
}
]- Related CVEs
- CVE-2026-62182
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #63870 · Revision 1
- Added to Heist Feed
- Publisher date