If developers or AI tools use Playwright to open web pages, the browser inside Playwright 1.64.1 and earlier lacks Google's Oct. 27th security fixes: version 1.65.0 includes them, so the question for this week is whether every copy has been upgraded.
Playwright is a tool developers use to drive a web browser by script, and it has become the way AI coding assistants look things up. It does not use the Chrome installed on the laptop. It brings its own, the way a contractor brings a ladder, and the company only inspects its own ladders.
On Oct. 27th Google fixed four Critical flaws in Chrome. The laptop's Chrome updated itself. Playwright's copy stayed as it was until Playwright 1.65.0 shipped on Nov. 5th. Playwright also runs that browser with Chrome's inner safety wall, the sandbox, switched off by default: a reasonable choice for test machines and a poor one for browsing the open web.
A tool that only visits the team's own application carries little risk here. One that reads pages from the internet could be handed a booby-trapped page. The fix is an upgrade measured in minutes.
Playwright downloads a pinned Chromium build into its own cache folder and launches that. Pinning keeps test runs reproducible. The cached copy changes only when Playwright publishes a release, so an endpoint scanner that checks the installed Chrome reports the machine as current while the cache 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, branched after the Oct. 27th fixes landed.
Playwright ships with chromiumSandbox set to false, because Chromium will not start its sandbox as root and CI containers often run as root. The 1.65 release notes list no change to that default. Upgrading fixes the browser; the sandbox remains a separate decision. Playwright MCP and the browser binaries version separately from the library, so a clean package.json says nothing about an MCP server an editor launches.
| 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 |
With the sandbox off, the three described as inside the sandbox reach the account that started the browser. No public report of exploitation as of Nov. 21st.
| Component | Version | Chromium build | Status |
|---|---|---|---|
| Playwright | 1.65.0 | 158.0.8127.18 | Includes Oct. 27th fixes |
| Playwright | 1.64.1 and earlier | 156.0.8078.4 and older | Lacks Oct. 27th fixes |
| Google Chrome stable | 156.0.8078.73 and later | n/a | Fixed |
| Playwright MCP server | before 0.0.40 | n/a | CVE-2025-9611, DNS rebinding |
| Playwright on macOS | before 1.55.1 | n/a | CVE-2025-59288, reinstall scripts skipped TLS validation |
Read-only. Each folder is a separate browser; a chromium- folder numbered 1248 or lower is unpatched.
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 in each repository and on each developer machine. The global and configuration searches catch MCP servers that an editor launches but no project lists. Note whether each browser loads only the team's own application.
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 rg -n '@playwright/mcp|playwright-mcp|playwright mcp' ~ --glob '!node_modules/**' 2>/dev/null
Test first: 1.65 waits for elements to be not inert, matches cookies per RFC 6265, stops sending proxy credentials to websites, and no longer tests Node.js 20.
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 still applies after the upgrade because 1.65 keeps the sandbox off by default. 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. The bundled non-root user plus Playwright's published seccomp profile lets the sandbox start. Scan the built image by digest and triage base-image findings separately.
FROM mcr.microsoft.com/playwright:v1.65.0-noble USER pwuser
Earlier versions did not validate request origins (CVE-2025-9611). A server process started from the old package keeps running old code until restarted.
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. Remove any remaining 1248 build. Keep the lock file diff and image digest with the change record.
npx playwright install --list rm -rf ~/.cache/ms-playwright/chromium-1248 ~/.cache/ms-playwright/chromium_headless_shell-1248
Every AI coding agent, test runner and scraper on a developer laptop can carry its own Chromium, and only one copy on that laptop is the Chrome that IT patches.
This advisory reflects public information as of Nov. 21st.