Skip to content
EventPast event

Kubeshark fixes arbitrary file write vulnerability in MCP tool

1 reports1 reporting sourcesLatest report

Start here

AI overview

GitHub security advisory: The Kubeshark MCP tool download_file has an arbitrary file write vulnerability; an attacker who influences tool parameters via indirect prompt injection can write to any path writable by the running user; the Hub has no authentication by default, and credentials in captured traffic can be read. Official rating 5.3 Medium (reporter rated 7.1), no reliable RCE demonstrated, fixed in commit a76a192.

Generated by AI from reports · Updated 12 days ago

Progress timeline

Nov 17
  1. GitHub Security AdvisoriesSelected
    Kubeshark fixes MCP download_file arbitrary file write vulnerability, triggerable via indirect prompt injection

    Kubeshark's MCP tool download_file has an arbitrary file write vulnerability because it does not validate the target path; the flaw was introduced in commit eb7dc42 and fixed in commit a76a192. An attacker able to influence MCP tool parameters (for example through indirect prompt injection against an agent driving kubeshark mcp) can write bytes to any path writable by the running user and can request any Hub API endpoint. The Hub disables authentication by default, and under the default installation, credentials, tokens and PII in captured traffic can be read end to end; the reporter recovered a pre-planted Bearer credential from a captured PCAP. Kubeshark rated the severity as 5.3 Medium (the reporter's original rating was 7.1), and reliable RCE was not demonstrated. The fix restricts the download target to the base directory and rejects ../ and absolute paths; mitigation recommendations include running as a non-privileged user, avoiding untrusted content or agent input, and enabling Hub authentication.

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

1 in 13 days·most 1 (Nov 17)·today 0

  • Nov 17: 1 new sources (1 outlets, 0 accounts)
  • Nov 18: 0 new sources (0 outlets, 0 accounts)
  • Nov 19: 0 new sources (0 outlets, 0 accounts)
  • Nov 20: 0 new sources (0 outlets, 0 accounts)
  • Nov 21: 0 new sources (0 outlets, 0 accounts)
  • Nov 22: 0 new sources (0 outlets, 0 accounts)
  • Nov 23: 0 new sources (0 outlets, 0 accounts)
  • Nov 24: 0 new sources (0 outlets, 0 accounts)
  • Nov 25: 0 new sources (0 outlets, 0 accounts)
  • Nov 26: 0 new sources (0 outlets, 0 accounts)
  • Nov 27: 0 new sources (0 outlets, 0 accounts)
  • Nov 28: 0 new sources (0 outlets, 0 accounts)
  • Nov 29: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 35·Peak in the comparable period 35 (Nov 22 21:00)·Change over the comparable past 24 hours 0%

010203040Nov 2221:00Nov 2306:00Nov 2314:00Nov 2323:00