{"id":"CVE-2026-73517","summary":"KubeSphere Command Injection via Terminal File Download","details":"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.","modified":"2026-11-25T18:00:15.454356213Z","published":"2026-11-25T16:02:33.547Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73517.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73517.json"},{"type":"EVIDENCE","url":"https://github.com/ashikmd7/kubeSphere/blob/main/Remote%20Code%20Execution%20via%20Command%20Injection/README.md"},{"type":"PACKAGE","url":"https://github.com/kubesphere/kubesphere"},{"type":"REPORT","url":"https://github.com/kubesphere/kubesphere/issues/6661"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73517"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/kubesphere-command-injection-via-terminal-file-download"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kubesphere/kubesphere","events":[{"introduced":"0"},{"last_affected":"3ef3a6bc98b790480577e87fbc75bee5b3438862"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.0.0"},{"last_affected":"4.1.3"}]}]}}],"versions":["v4.1.3","v4.1.3-rc.0","helm-chart-1.1.3","v4.1.2","helm-chart-1.1.2","v4.1.1","v3.4.0","v3.4.0-rc.0","v3.3.0-rc.3","v3.3.0","v3.3.0-rc.2","v3.3.0-rc.1","v3.3.0-rc.0","v3.3.0-alpha.1","v3.3.0-alpha.0","v3.2.0","v3.2.0-rc.1","v3.2.0-alpha.1","v3.2.0-alpha.0","v3.1.0","v3.1.0-alpha.0","v3.0.0","v2.1.0","advanced-2.0.2","advanced-2.0.0","advanced-1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73517.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}