Security Advisory
CVE-2026-118306 and three related Chromium CVEs - Published Nov. 3rd - Revised Nov. 21st -
Developer tooling - Browser automation - AI coding agents

Playwright 1.64.1 and earlier run a Chromium build that missed 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 tools that bundle Playwright: AI coding agents, Playwright MCP servers, scrapers and HTML-to-PDF renderers.
Fixed in Playwright 1.65.0 (Chromium 158.0.8127.18); Google Chrome 156.0.8078.73 and later
Level 1 - For the CEO

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.

Level 2 - In plain English

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.

Level 3 - For the team doing the work

Technical Assessment

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.

CVEComponentDescribed impactRating
CVE-2026-118306FileSystemMemory corruption; code execution outside the sandbox via crafted HTMLCVSS 9.6
CVE-2026-118331FileAPIImproper input validation; code execution inside the sandboxChromium: Critical
CVE-2026-118348SkiaImproper input validation; code execution inside the sandboxCVSS 8.8
CVE-2026-118344LayoutUse after free; code execution inside the sandboxChromium: 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.

ComponentVersionChromium buildStatus
Playwright1.65.0158.0.8127.18Includes Oct. 27th fixes
Playwright1.64.1 and earlier156.0.8078.4 and olderLacks Oct. 27th fixes
Google Chrome stable156.0.8078.73 and latern/aFixed
Playwright MCP serverbefore 0.0.40n/aCVE-2025-9611, DNS rebinding
Playwright on macOSbefore 1.55.1n/aCVE-2025-59288, reinstall scripts skipped TLS validation

Verification and remediation

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

Read-only. Each folder is a separate browser; a chromium- folder numbered 1248 or lower is unpatched.

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 Playwright and Playwright MCP install

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.

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
rg -n '@playwright/mcp|playwright-mcp|playwright mcp' ~ --glob '!node_modules/**' 2>/dev/null
3Upgrade to Playwright 1.65.0 and reinstall the browser

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.

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
4Browse untrusted pages on patched Chrome with the sandbox on

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.

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. 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.

Dockerfile
FROM mcr.microsoft.com/playwright:v1.65.0-noble
USER pwuser
6Bring Playwright MCP to 0.0.40 or later, then restart it

Earlier versions did not validate request origins (CVE-2025-9611). A server process started from the old package keeps running old code until restarted.

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. Remove any remaining 1248 build. Keep the lock file diff and image digest with the change record.

Terminal
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.

Revision history

Sources

This advisory reflects public information as of Nov. 21st.