CVE-2026-73517

high

Description

KubeSphere 4.0.0 through 4.1.3 contains a command injection vulnerability in the terminal v1alpha2 file download endpoint where the path query parameter is inserted via fmt.Sprintf into sh -c tar commands executed inside the target container, and the DownloadFile handler fails to perform its own pods/exec authorization check. Attackers with only pod get permission, including built-in read-only project-viewer, workspace-viewer and cluster-viewer roles, can supply shell metacharacters in the path parameter to execute arbitrary commands inside any viewable container without holding pod exec permission.

References

https://www.vulncheck.com/advisories/kubesphere-command-injection-via-terminal-file-download

https://github.com/kubesphere/kubesphere/issues/6661

https://github.com/ashikmd7/kubeSphere/blob/main/Remote%20Code%20Execution%20via%20Command%20Injection/README.md

Details

Source: Mitre, NVD

Published: 2026-11-25

Updated: 2026-11-25

CVSS v3

Base Score: 8.8

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

Severity: High

CVSS v4

Base Score: 8.7

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Severity: High