Vulnerability library
Security checkJanuary 07, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@playwright/mcp

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @playwright/mcp package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.0.40
  • Patched version(s): 0.0.40

References

Could your website be exposed too?

SmartScanner can check your website for Microsoft Playwright MCP Server vulnerable to DNS Rebinding Attack; Allows Attackers Access to All Server Tools and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 07, 2026