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

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

kubeshark / kubeshark

Correctif recensé le jour même de la divulgation. Version corrigée : github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et 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
étape actuelle
PAT
divulgation
délai avant correctif
T+0d
CVSS
5.3 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-16T16:45Z
PATcorrectif
11-16T23:03Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 5.3, gravité moyenne.

source cvelist · observé en direct par nday le · brut
{
  "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"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée github.com/kubeshark/kubeshark 0.0.2-0.20260812200004-a76a1920dc75. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-gj7r-p794-hhq5 · observé en direct par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.