Read the docs

Command injection in KubeSphere terminal file download endpoint

Priority HIGH 73CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

KubeSphere 4.0.0 through 4.1.3 contains a command injection flaw (CWE-78) in the terminal file download endpoint. The path parameter is passed unsanitized into a shell command that runs inside the target container, and the handler skips the pods/exec authorization check. An attacker with only pod get permission, including the built-in read-only viewer roles, can run arbitrary commands in any container they can view. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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 now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0189 80th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
kubespherekubesphere4.0.0 – 4.1.3—No fix listedCNA
  • kubesphere Vendorkubesphere Affected 4.0.0 – 4.1.3 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for kubesphere.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-73517
  2. 2026-11-25 Alias added: GHSA-9v9g-qr72-7pgv
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-98305 Missing authorization in KubeSphere lets users escalate privileges CVSS 4.0HIGH 8.7
  • TI-2026-62059 KubeSphere through 4.1.3 SSRF via git credential verification endpoint CVSS 4.0HIGH 8.3
  • TI-2026-49883 KubeSphere - SSRF via Unvalidated Cluster CRD Connection Endpoint in Cluster Reconciliation CVSS 3.1MEDIUM 6.5

Sources