CVE-2026-89039

Arbitrary file read via the convert_playwright_script prompt in mcp-k6

MEDIUM
6.5
CVSS Score
Published: October 5, 2026 at 02:52 PM UTC
Updated: October 6, 2026 at 04:08 PM UTC
1 product affected across 1 vendorMcp K6

Using Mcp K6 by Grafana?

Get instant alerts when new vulnerabilities affect Mcp K6 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

The convert_playwright_script prompt in the k6 MCP server accepts a file path as its playwright_script argument. Paths given in the documented '@'-prefixed form are restricted to the server's current working directory, but a bare path is resolved by a separate undocumented code path that applies no such restriction. A caller able to invoke the prompt can therefore read any file readable by the user running the server, including files outside the working directory, and receives the file contents in the prompt response. A leading '~' is expanded to the user's home directory, so credential files such as SSH private keys are directly addressable. The working-directory restriction is additionally bypassable through a symbolic link inside the working directory that points outside it, because the path is not canonicalized before the restriction is applied. All releases from v0.3.0 onward are affected; releases v0.3.0 and v0.4.0 apply no restriction to either form.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.3.0 ≤ v < 0.7.00.3.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMGRAFANA
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-22CWE-424

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card