Skip to main content
Menu
CVEs

KubeSphere command injection in terminal file download

Affects KubeSphere 4.0.0 through 4.1.3, where the terminal file download path can run commands in any container a user can view. No fixed version is listed in the checked facts.

CVE-2026-73517Published , updated

8.7HighCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Specific setups only

Summary

KubeSphere contains a command injection flaw in its terminal file download feature that lets a remote attacker with only low-privilege pod read access run arbitrary commands inside containers they can view, without holding pod exec permission. The attacker reaches it over the network by supplying shell metacharacters in the path parameter.

Written by a model

Original description

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.

Who should check

Teams running KubeSphere 4.0.0 through 4.1.3, especially those granting pod get permission such as project-viewer, workspace-viewer or cluster-viewer roles.

“KubeSphere 4.0.0 through 4.1.3 contains a command injection vulnerability”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    KubeSphere versions 4.0.0 through 4.1.3 are affected.
  2. Workaround: The checked facts give no workaround. Limiting who can use the terminal file download feature would narrow the affected path, but the facts do not confirm that this removes the risk.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-73517 (KubeSphere Command Injection via Terminal File Download), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-73517 (entry last updated 2026-11-25):
Affected:
- kubesphere kubesphere: from 4.0.0, through 4.1.3
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- KubeSphere versions 4.0.0 through 4.1.3 are affected. (source: https://www.vulncheck.com/advisories/kubesphere-command-injection-via-terminal-file-download)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
CISA KEV: CVE-2026-73517 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-73517 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/kubesphere/kubesphere/issues/6661
- https://www.vulncheck.com/advisories/kubesphere-command-injection-via-terminal-file-download
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-73517
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-73517"}.

Affected versions

cve.now Index

22Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.7/10CVSS 8.7
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 72 if added to CISA KEV
  • Would score about 67 if CISA's SSVC rates exploitation active
  • Would score about 29 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 5

KindSource
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-73517
RecordNVD · CVE-2026-73517
Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub).
ExploitGitHub · ashikmd7/kubeSphere · Remote Code Execution via Command Injection/README.md
Other links 2
ReportGitHub · kubesphere/kubesphere · Issue #6661
Linkvulncheck.com · advisories/kubesphere-command-injection-via-terminal-file-download

Questions about CVE-2026-73517

Is CVE-2026-73517 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Shell metacharacters in the path parameter of the terminal file download can run arbitrary commands inside any container the user can view. The attacker does not need pod exec permission.

Source: vulncheck.com

Which versions are affected by CVE-2026-73517?

kubesphere: from 4.0.0 through 4.1.3.

Source: cve.now feed data

Am I affected, and how do I check?

KubeSphere versions 4.0.0 through 4.1.3 are listed as affected. To check a deployment, look at the KubeSphere version it runs.

Source: vulncheck.com

How do I fix CVE-2026-73517?

The checked facts name no fixed version and no vendor patch IDs, so no upgrade target can be given from them. Check the vendor's advisory for a fix.

Source: vulncheck.com

What if there's no patch?

The checked facts give no workaround. Limiting who can use the terminal file download feature would narrow the affected path, but the facts do not confirm that this removes the risk.

Source: vulncheck.com

No corrections so far. Something wrong on this page? Report an error.