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.
Metrics
Affected Vendors & Products
References
History
Thu, 26 Nov 2026 03:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kubesphere
Kubesphere kubesphere |
|
| Vendors & Products |
Kubesphere
Kubesphere kubesphere |
Wed, 25 Nov 2026 22:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | KubeSphere Command Injection via Terminal File Download | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-11-25T16:02:33.547Z
Updated: 2026-11-25T16:02:33.547Z
Reserved: 2026-08-12T19:29:19.865Z
Link: CVE-2026-73517
No data.
Status : Deferred
Published: 2026-11-25T17:17:59.920
Modified: 2026-11-25T17:18:00.063
Link: CVE-2026-73517
No data.