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

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

kubeshark / kubeshark

揭露當天即有修補紀錄。已於 github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75 修補。四個 PoC 來源皆未收錄。目前未列入 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] 與 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
目前階段
PAT
揭露時間
揭露 → 修補
T+0d
CVSS
5.3 MEDIUM v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
11-16T16:45Z
PAT修補
11-16T23:03Z
ANA分析
尚無紀錄
POCPoC
尚無紀錄
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

事件紀錄

+DIS揭露

CVE 紀錄由 GitHub_M 發布。CVSS 5.3,屬中風險等級。

來源 cvelist · nday 於 即時觀測 · 原始
{
  "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"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-gj7r-p794-hhq5 · nday 於 即時觀測 · 原始
{
  "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.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.