Security Advisory
PLAYWRIGHT-2026-11 - Published Nov. 3rd - Revised Nov. 10th -
Developer tooling - Browser automation - AI coding agents

Playwright 1.64.1 and earlier run a Chromium build that predates the Oct. 27th Chrome security release

Advisory severity
HIGH
Highest CVSS
CRITICAL 9.6
CISA KEV
Not listed
Fixed Playwright release
1.65.0 (Nov. 5th)
Affects Playwright 1.64.1 and earlier in every language binding, the matching official Docker images, and any tool that bundles Playwright: AI coding agents, Playwright MCP servers, scrapers, HTML-to-PDF renderers.
Fixed in Playwright 1.65.0 (Chromium 158.0.8127.18) - Google Chrome 156.0.8078.73
Level 1 - For the CEO

If our developers or AI tools use Playwright to open web pages, the browser inside it missed Google's Oct. 27th security fixes until version 1.65.0 shipped on Nov. 5th, so the one question for the team this week is whether every copy has been upgraded.

Level 2 - In plain English

Playwright is a tool developers use to drive a web browser by script. It clicks, types and reads pages so nobody has to, and it has become the way AI coding assistants go and look something up. To keep tests predictable it does not use the Chrome on the laptop. It brings its own, the way a contractor brings his own ladder, and the company only ever inspects its own ladders.

On Oct. 27th Google fixed four Critical flaws in Chrome. The laptop's Chrome updated itself overnight. Playwright's copy stayed exactly as it was, because it only changes when Playwright ships a new version, which it did on Nov. 5th. Playwright also runs that browser with Chrome's inner safety wall, the sandbox, switched off by default. It is the software equivalent of propping the fire door open because the alarm kept going off during drills: a reasonable decision at the time, and worth knowing about now.

If the tool only ever visits our own application, there is very little here. If it reads pages from the open internet, a booby-trapped page could run code as the developer who started it. The fix is an upgrade measured in minutes, and every step below can be copied, ticked off, or handed to an AI assistant to work through with us.

Level 3 - For the team doing the work

Technical Assessment

Why the Playwright browser is behind when Chrome is current

Playwright downloads a specific Chromium build into its own cache folder and launches that. The usual reason is reliability: a test that passed yesterday should pass today, and pinning the browser removes Chrome's release cycle as a source of test failures. The cost is that the cached copy only changes when Playwright publishes a release, and an endpoint scanner that checks the installed Chrome reports the machine as current while the cached copy sits several patches behind. Playwright 1.64.1 runs Chromium 156.0.8078.4 from a folder named chromium-1248. Playwright 1.65.0, released Nov. 5th for Node.js and Nov. 10th for Python, runs Chromium 158.0.8127.18, a branch cut after the Oct. 27th fixes landed. The 1.65 Docker images also take the latest Chromium patch on that branch.

The sandbox setting follows the same logic. Chromium will not start its sandbox as root, CI containers frequently run as root, so Playwright ships with chromiumSandbox set to false. The 1.65 release notes do not mention a change to that default, so upgrading fixes the browser and leaves the sandbox decision with us.

Playwright is also several components that version separately: the library, the MCP server (@playwright/mcp, and since 1.62 bundled as npx playwright mcp), the Docker image, and the browser binaries. A clean package.json says nothing about a globally installed MCP server an editor launches, or a container built last month.

The four Critical vulnerabilities

CVEComponentDescribed impactRating
CVE-2026-118306FileSystemMemory corruption. Code execution outside the sandbox via crafted HTML.CVSS 9.6
CVE-2026-118331FileAPIImproper input validation. Code execution inside the sandbox.Chromium: Critical
CVE-2026-118348SkiaImproper input validation. Code execution inside the sandbox.CVSS 8.8
CVE-2026-118344LayoutUse after free. Code execution inside the sandbox.Chromium: Critical

All four are fixed in Chrome 156.0.8078.73. With the Playwright sandbox off, the three described as inside the sandbox reach the same place as the first: the account that started the browser. We found no public report of exploitation as of Nov. 10th.

Version reference

ComponentVersionChromium buildStatus
Playwright1.65.0158.0.8127.18Includes Oct. 27th fixes
Playwright1.64.1156.0.8078.4Lacks Oct. 27th fixes
Playwright<= 1.63.x153 and olderLacks these and earlier fixes
Google Chrome stable>= 156.0.8078.73n/aFixed
Playwright MCP server< 0.0.40n/aCVE-2025-9611, DNS rebinding
Playwright on macOS< 1.55.1n/aCVE-2025-59288, reinstall scripts skipped TLS validation

Verification and remediation

Copy marks a step as taken. Mark complete confirms it. Hand to an LLM copies the step with its context, ready to paste into an AI assistant.

0 of 7 steps taken
1Find every Playwright browser on the machine

Each folder is a separate browser. A chromium- folder numbered 1248 or lower is unpatched for this advisory. Read-only.

macOS / Linux
ls ~/.cache/ms-playwright ~/Library/Caches/ms-playwright 2>/dev/null
find / -type d -path "*ms-playwright*" -name "chromium*" 2>/dev/null
npx --no-install playwright install --list
Windows PowerShell
Get-ChildItem "$env:LOCALAPPDATA\ms-playwright" -ErrorAction SilentlyContinue
2Find every place Playwright and Playwright MCP are installed or configured

Run inside each repository and on each developer machine. The global and configuration searches catch an MCP server that an editor or agent launches but no project lists. For each hit, note whether the browser loads only our own application or pages from elsewhere.

Terminal
npm ls playwright playwright-core @playwright/test @playwright/mcp 2>/dev/null
npm ls -g --depth=0 playwright @playwright/mcp 2>/dev/null
pip show playwright 2>/dev/null | grep -i version
dotnet list package 2>/dev/null | grep -i playwright
rg -n '@playwright/mcp|playwright-mcp|playwright mcp' ~ --glob '!node_modules/**' 2>/dev/null
3Upgrade to Playwright 1.65.0 and reinstall the browser

1.65 carries breaking changes worth a test run first: actions now wait for elements to be not inert, cookie matching follows RFC 6265, proxy credentials are no longer sent to websites, and Node.js 20 is no longer tested. Projects still on Node.js 20 move to 22, 24 or 26.

Node.js
npm install -D @playwright/test@1.65.0
npx playwright install chromium
npx playwright --version
Python
pip install --upgrade "playwright==1.65.0"
python -m playwright install chromium
4Run untrusted browsing on patched Chrome, with the sandbox on

For scrapers, renderers and agents that load outside content. This holds after the upgrade too, since 1.65 keeps the sandbox off by default. It also covers any binding still waiting on its 1.65 release. The installed Google Chrome must report 156.0.8078.73 or later.

Node.js
const browser = await chromium.launch({ channel: 'chrome', chromiumSandbox: true });
Python
browser = p.chromium.launch(channel="chrome", chromium_sandbox=True)
5Rebuild containers on the 1.65 image, as a non-root user

A rebuild removes stale browser layers. Running as the bundled non-root user with Playwright's published seccomp profile lets the sandbox start at all. Scan the built image by its digest, and treat base-image or global npm findings as their own items: a scanner hit in the image is not automatically a Playwright vulnerability.

Dockerfile
FROM mcr.microsoft.com/playwright:v1.65.0-noble
USER pwuser
Terminal
docker image inspect IMAGE:TAG --format '{{json .RepoDigests}}'
6Bring Playwright MCP to 0.0.40 or later, then restart it

Earlier MCP servers did not validate request origins, so a web page could reach the local tools an agent uses (CVE-2025-9611). The restart matters: a corrected package on disk does nothing for a server process started from the old one. Until it is upgraded, stop the server when it is not in use and keep it off tunnels and shared interfaces.

Terminal
npm view @playwright/mcp version
ps aux | grep -i "playwright.*mcp" | grep -v grep
7Confirm, and keep the evidence

Repeat step 1. The Chromium entry should report 158.0.8127.18 or later and no 156.0.8078.4 copy should remain. For machines on Playwright before 1.55.1 that ran the macOS browser reinstall scripts over a network we do not control (CVE-2025-59288), reinstall the browsers from a trusted source. Keep the lock file diff, image digest and this output with the change record.

Terminal
npx playwright install --list
# then remove any stale 1248 build, for example on Linux:
rm -rf ~/.cache/ms-playwright/chromium-1248 ~/.cache/ms-playwright/chromium_headless_shell-1248

In summary

Every AI coding agent, test runner and scraper on a developer laptop can carry its own copy of Chromium, so the number of browsers in an organization is set by whatever tools people installed this year, and only one of those copies is the Chrome that IT patches.

Revision history

Sources

This advisory reflects public information as of Nov. 10th.