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

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

kubeshark / kubeshark

Hay constancia de un parche el mismo día de la divulgación. Versión corregida: github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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] y 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
etapa
PAT
divulgación
divulgación → parche
T+0d
cvss
5.3 MEDIUM v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
11-16T16:45Z
PATparcheada
11-16T23:03Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 5.3, severidad media.

fuente cvelist · nday , observado en tiempo real · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versión corregida según el aviso: github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-gj7r-p794-hhq5 · nday , observado en tiempo real · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.