CVE-2026-73517: KubeSphere Command Injection via Terminal File Download

Published Nov 25, 2026
·
Updated

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.

Affected Software

1 affected component
KubeSphere KubeSphere>=4.0.0<=4.1.3

Event History

Nov 25, 2026
CVE Published
via MITRE·04:02 PM
Data Sourced
via MITRE·04:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

Any user with pod get permission for a container they can view may be able to exploit it. This includes the built-in read-only project-viewer, workspace-viewer, and cluster-viewer roles, even though those roles do not grant pod exec permission.

2

What access and interaction does exploitation require?

The attacker needs network access to the affected KubeSphere endpoint and pod get permission for a viewable target container. No user interaction or pod exec permission is required.

3

What can an attacker do after successful exploitation?

An attacker can inject shell metacharacters through the file-download path parameter to execute arbitrary commands inside any container they are permitted to view. The vulnerable handler runs tar through sh -c and does not independently enforce pods/exec authorization.

4

How can I determine whether an environment is affected?

KubeSphere versions 4.0.0 through 4.1.3 are affected. Review whether users or service accounts with pod get access, including read-only viewer roles, can reach the terminal v1alpha2 file download functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203