GHSA-9vm9-pqxx-x83v

Suggest an improvement
Source
https://github.com/advisories/GHSA-9vm9-pqxx-x83v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-9vm9-pqxx-x83v/GHSA-9vm9-pqxx-x83v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9vm9-pqxx-x83v
Aliases
Published
2026-09-22T20:36:59Z
Modified
2026-09-22T21:00:08Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
KubeEdge: keadm DecompressTarGz path traversal enables arbitrary file write on Windows during edge node join
Details

Description

KubeEdge keadm contains a path traversal vulnerability in the DecompressTarGz archive extraction function.

Archive entry names were joined directly with the extraction destination without sufficient validation. A crafted tar.gz archive containing parent-directory components, Windows-style backslashes, absolute paths, or drive-prefixed paths could cause files to be written outside the intended extraction directory.

The issue is particularly relevant to Windows edge nodes during the keadm join or installation process when keadm extracts downloaded component archives.

Impact

An attacker who can cause an affected keadm process to extract a malicious archive may write or overwrite files outside the intended destination directory with the privileges of the user running keadm.

On Windows edge nodes, this may allow modification of configuration files, executable files, service-related files, or other writable system locations. Depending on the overwritten file and the privileges of the keadm process, successful exploitation could lead to persistent system modification or code execution.

Exploitation requires the attacker to influence the contents of an archive processed by keadm, such as through a compromised, replaced, or otherwise untrusted download source.

Patches

The extraction logic now:

  • resolves the destination directory to an absolute path;
  • rejects empty archive entry names;
  • normalizes Windows-style path separators before validation;
  • rejects parent-directory traversal paths;
  • rejects absolute and Windows drive-prefixed paths;
  • uses filepath-securejoin to ensure extracted files remain within the destination directory.

Fixes are planned for the following maintained releases:

  • v1.23.1
  • v1.22.2
  • v1.21.2

Workarounds

Until a patched release is available:

  • only install or join edge nodes using trusted KubeEdge package sources;
  • verify the integrity and origin of downloaded archives before extraction;
  • do not use custom or untrusted component archives with keadm;
  • restrict write permissions and administrative privileges for the account running keadm;
  • avoid performing Windows edge-node installation or join operations when the package source cannot be trusted.

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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-22T20:36:59Z",
    "nvd_published_at":  "2026-09-21T18:17:09Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/kubeedge/kubeedge

Package

Name
github.com/kubeedge/kubeedge
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubeedge/kubeedge

Affected ranges

Type
SEMVER
Events
Introduced
1.16.0
Fixed
1.21.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-9vm9-pqxx-x83v/GHSA-9vm9-pqxx-x83v.json"

Go / github.com/kubeedge/kubeedge

Package

Name
github.com/kubeedge/kubeedge
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubeedge/kubeedge

Affected ranges

Type
SEMVER
Events
Introduced
1.22.0
Fixed
1.22.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-9vm9-pqxx-x83v/GHSA-9vm9-pqxx-x83v.json"

Go / github.com/kubeedge/kubeedge

Package

Name
github.com/kubeedge/kubeedge
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubeedge/kubeedge

Affected ranges

Type
SEMVER
Events
Introduced
1.23.0
Fixed
1.23.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-9vm9-pqxx-x83v/GHSA-9vm9-pqxx-x83v.json"