Packages / @playwright/mcp / Security

HighVulnerabilityGHSA-6fg3-hvw7-2fwqCVE-2025-9611GHSA-8rgw-6xp9-2fg3Published 7 Jan 2026

Microsoft Playwright MCP Server vulnerable to DNS Rebinding Attack; Allows Attackers Access to All Server Tools

Your version

Affected releases · @playwright/mcp

  • 0.0.x0.0.1 – 0.0.39Fixed in 0.0.40

On 0.0.x, the newest line:

npm install @playwright/mcp@0.0.40
Every release on a timeline
  1. Affected

    0.0.1 – 0.0.39

    34 releases

  2. Fixed

    0.0.40 – 0.0.86

    45 releases, latest

79 stable releases of @playwright/mcp, oldest to newest.

What happens

Microsoft Playwright MCP Server versions prior to 0.0.40 fails to validate the Origin header on incoming connections. This allows an attacker to perform a DNS rebinding attack via a victim’s web browser and send unauthorized requests to a locally running MCP server, resulting in unintended invocation of MCP tool endpoints.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.