Path Traversal Vulnerability in k6 MCP Server

MonitorSensitive data exposure over the network by a logged-in user.
6.5MEDIUM

CVE-2026-89039

Key Information:

Vendor

Grafana

Status
CVE ID
CVE ID:
CVE-2026-89039
Vendor
CVE Published:
5 October 2026
Fixed in
Fixed in:
0.7.0

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
mcp-k6 0.3.0 to below 0.7.0 is vulnerable
Install mcp-k6 0.7.0 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach mcp-k6. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2026-89039?

The k6 MCP server is susceptible to a path traversal vulnerability due to the improper handling of file paths in the convert_playwright_script prompt. When using '@'-prefixed paths, restrictions are enforced to limit file access to the current working directory. However, a bare path can bypass this restriction, granting attackers the ability to read arbitrary files accessible to the server user. This includes sensitive files like SSH private keys, particularly due to the expansion of the '~' character to the user's home directory. Additionally, symbolic links in the working directory allow further exploits, as the path is not canonicalized prior to the restriction's application. All versions from v0.3.0 onwards are affected, highlighting the urgency of applying necessary mitigations.

References

Server-side Request Forgery in mcp-grafana

CVE-2026-19516
GrafanaGrafana Mcp ServerπŸ˜„πŸ‘Ύ9.1CRITICAL

Remote Code Execution Vulnerability in Grafana Enterprise Plugin

CVE-2026-27876
GrafanaGrafanaπŸ˜„πŸ‘Ύ9.1CRITICAL

HTML Injection in Grafana

CVE-2025-41117
GrafanaGrafana/grafana6.8MEDIUM
View more Grafana vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

bebold6133 (Researcher)
.