Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-73517

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

kubesphere kubesphere

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-73517: high-severity vulnerability (CVSS 8.7) in kubesphere kubesphere.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

kubesphere kubesphere >= 4.0.0, <= 4.1.3

ProductVersionsFixed in
kubesphere kubesphere>= 4.0.0, <= 4.1.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-78

Relevant change history

  1. Published

    Preliminary advisory published.