CVE-2026-89039: CVE Record

Published Oct 5, 2026
·
Updated

The convertplaywrightscript prompt in the k6 MCP server accepts a file path as its playwrightscript 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 Software

1 affected component
Grafana k6 MCP server>=0.3.0

Event History

Oct 5, 2026
CVE Published
via MITRE·02:52 PM
Data Sourced
via MITRE·02:52 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which versions require remediation?

All releases from v0.3.0 onward are affected. In v0.3.0 and v0.4.0, neither the documented '@'-prefixed path form nor bare paths have a working-directory restriction.

2

What access does an attacker need to read files?

The attacker must be able to invoke the convert_playwright_script prompt in the k6 MCP server. They can read files that are readable by the operating-system user running the server.

3

Can the documented '@'-prefixed path syntax be relied on to confine reads to the working directory?

No. Although that form applies a working-directory restriction in later affected releases, a symbolic link inside the working directory that points outside it bypasses the restriction because paths are not canonicalized first.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203