nday
CVE-2026-129235 GHSA-gj7r-p794-hhq5

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

kubeshark / kubeshark

Patched on the day of disclosure. Patched: fixed in github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-88, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-gj7r-p794-hhq5
path traversal
CWE-22, stated by GitHub advisory GHSA-gj7r-p794-hhq5
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
Go
GHSA-gj7r-p794-hhq5: go packages github.com/kubeshark/kubeshark
stage
PAT
disclosed
disclosure → patch
T+0d
cvss
5.3 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-16T16:45Z
PATpatch
11-16T23:03Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Kubeshark is an eBPF-powered network observability tool for Kubernetes. From 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. An attacker who influences arguments through an AI agent driving kubeshark mcp can write Hub-supplied bytes to any path writable by the local MCP user and can read captured network traffic from default auth-disabled Hub deployments. The tool is registered without --allow-destructive; reliable code execution is not demonstrated because the bytes are constrained to Hub API responses. Hub-side default authentication remains outside this remediation, so captured traffic can remain readable in default auth-disabled Hub deployments after the local destination-write fix. The destination-write issue is fixed in version 53.4.0.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 5.3, medium.

src cvelist · nday , observed live · raw
{
  "id": 473128,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-129235",
  "occurred_at": "2026-11-16T16:45:20.841Z",
  "observed_at": "2026-11-16T17:04:19.538461Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N",
      "version": "3.1",
      "base_score": 5.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-16T19:04:24.369384Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-16T16:45:20.841Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-gj7r-p794-hhq5 · nday , observed live · raw
{
  "id": 475788,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-gj7r-p794-hhq5",
  "occurred_at": null,
  "observed_at": "2026-11-16T23:03:12.59201Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-gj7r-p794-hhq5",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.3,
        "vector_string": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Improper Neutralization of Argument Delimiters in a Command",
        "cwe_id": "CWE-88"
      }
    ],
    "ghsa_id": "GHSA-gj7r-p794-hhq5",
    "packages": [
      {
        "name": "github.com/kubeshark/kubeshark",
        "ecosystem": "go",
        "first_patched_version": "0.0.2-0.20260812200004-a76a1920dc75",
        "vulnerable_version_range": ">= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/kubeshark/kubeshark/security/advisories/GHSA-gj7r-p794-hhq5",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-129235",
      "https://github.com/kubeshark/kubeshark/pull/1957",
      "https://github.com/kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214",
      "https://github.com/kubeshark/kubeshark/releases/tag/v53.4.0",
      "https://github.com/advisories/GHSA-gj7r-p794-hhq5"
    ],
    "fix_commit_urls": [
      "https://github.com/kubeshark/kubeshark/pull/1957",
      "https://github.com/kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214"
    ],
    "github_reviewed_at": "2026-11-16T22:18:58Z",
    "advisory_updated_at": "2026-11-16T22:18:58Z",
    "source_code_location": "https://github.com/kubeshark/kubeshark",
    "advisory_published_at": "2026-11-16T22:18:58Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.