Command injection in KubeSphere terminal file download endpoint
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kubesphere | kubesphere | 4.0.0 – 4.1.3 | — | No fix listed | CNA |
- 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
- 2026-11-25 Threatist record created from CVE-2026-73517
- 2026-11-25 Alias added: GHSA-9v9g-qr72-7pgv
- 2026-11-30 CISA SSVC decision points changed
References
Exploit 1
Other 1
More kubesphere vulnerabilities
- 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
- CVE-2026-73517 · CVE Program
- CVE-2026-73517 · NVD
- FIRST EPSS
- GHSA-9v9g-qr72-7pgv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences