PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-129235 kubeshark CVE debrief

Kubeshark MCP `download_file` writes fetched bytes to an unvalidated destination path. From version 53.1.0 until 53.4.0, the download_file tool in cmd/mcpRunner.go accepts caller-controlled path and dest values, fetches a selected Kubeshark Hub API response, and writes the returned bytes through os.Create(dest) in callDownloadFile without confining the destination.

Vendor
kubeshark
Product
Unknown
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-16
Original CVE updated
2026-11-16
Advisory published
2026-11-16
Advisory updated
2026-11-16

Who should care

Defenders responsible for Kubeshark deployments should assess exposure and prioritize verification and remediation. This includes reviewing current versions, restricting access to the MCP tool, and monitoring for suspicious activity. Operators, platform administrators, vulnerability management teams, and security teams should be aware of the potential impacts and take necessary actions to secure their environments.

Why it matters

Defenders should prioritize verifying and upgrading Kubeshark to version 53.4.0 or later, and restrict access to the MCP tool to prevent unauthorized use.

  • An attacker could write Hub-supplied bytes to any path writable by the local MCP user.
  • An attacker could read captured network traffic from default auth-disabled Hub deployments.

Technical summary

The download_file tool in cmd/mcpRunner.go accepts caller-controlled path and dest values, fetches a selected Kubeshark Hub API response, and writes the returned bytes through os.Create(dest) in callDownloadFile without confining the destination. This allows an attacker to write Hub-supplied bytes to any path writable by the local MCP user and potentially read captured network traffic from default auth-disabled Hub deployments if the attacker influences arguments through an AI agent driving kubeshark mcp. The destination-write issue is fixed in version 53.4.0.

Defensive priority

Defenders should prioritize verifying and upgrading Kubeshark to version 53.4.0 or later, and restrict access to the MCP tool to prevent unauthorized use.

Recommended defensive actions

  • Verify and upgrade Kubeshark to version 53.4.0 or later
  • Restrict access to the MCP tool to prevent unauthorized use
  • Monitor for suspicious activity related to the Kubeshark MCP tool
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including the affected versions (53.1.0 until 53.4.0) and the fix in version 53.4.0. Defenders should verify Kubeshark deployments, focusing on MCP tool usage and potential exposure. Evidence limits suggest captured traffic readability in default auth-disabled Hub deployments may persist post-fix.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-129235 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-129235

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-129235 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129235

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Kubeshark: MCP `download_file` writes fetched bytes to an unvalidated destination path

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129235.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/kubeshark/kubeshark/security/advisories/GHSA-gj7r-p794-hhq5

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/kubeshark/kubeshark/pull/1957

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/kubeshark/kubeshark/releases/tag/v53.4.0

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.