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.
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.
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.
| CVE | Component | Described impact | Rating |
|---|---|---|---|
| CVE-2026-118306 | FileSystem | Memory corruption. Code execution outside the sandbox via crafted HTML. | CVSS 9.6 |
| CVE-2026-118331 | FileAPI | Improper input validation. Code execution inside the sandbox. | Chromium: Critical |
| CVE-2026-118348 | Skia | Improper input validation. Code execution inside the sandbox. | CVSS 8.8 |
| CVE-2026-118344 | Layout | Use 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.
| Component | Version | Chromium build | Status |
|---|---|---|---|
| Playwright | 1.65.0 | 158.0.8127.18 | Includes Oct. 27th fixes |
| Playwright | 1.64.1 | 156.0.8078.4 | Lacks Oct. 27th fixes |
| Playwright | <= 1.63.x | 153 and older | Lacks these and earlier fixes |
| Google Chrome stable | >= 156.0.8078.73 | n/a | Fixed |
| Playwright MCP server | < 0.0.40 | n/a | CVE-2025-9611, DNS rebinding |
| Playwright on macOS | < 1.55.1 | n/a | CVE-2025-59288, reinstall scripts skipped TLS validation |
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.
Each folder is a separate browser. A chromium- folder numbered 1248 or lower is unpatched for this advisory. Read-only.
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
Get-ChildItem "$env:LOCALAPPDATA\ms-playwright" -ErrorAction SilentlyContinue
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.
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
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.
npm install -D @playwright/test@1.65.0 npx playwright install chromium npx playwright --version
pip install --upgrade "playwright==1.65.0" python -m playwright install chromium
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.
const browser = await chromium.launch({ channel: 'chrome', chromiumSandbox: true });browser = p.chromium.launch(channel="chrome", chromium_sandbox=True)
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.
FROM mcr.microsoft.com/playwright:v1.65.0-noble USER pwuser
docker image inspect IMAGE:TAG --format '{{json .RepoDigests}}'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.
npm view @playwright/mcp version ps aux | grep -i "playwright.*mcp" | grep -v grep
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.
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-1248Every 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.
This advisory reflects public information as of Nov. 10th.