Path Traversal Vulnerability in k6 MCP Server
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
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
More Grafana Vulnerabilities
Server-side Request Forgery in mcp-grafana
Remote Code Execution Vulnerability in Grafana Enterprise Plugin
HTML Injection in Grafana
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction