Vulnerability  ·  2026-11-27

Pydantic AI Harness PlaywrightBrowser egress-policy bypass via backslash in URL (SSRF / data exfiltration)

VulnerabilityMedium impactGlobalCVE-2026-136638
PlaywrightBrowser treats any URL containing a backslash as having no host and allows script/asset requests with no host, so a page script can add a backslash to a URL's query to send requests to private addresses or hosts outside the allowed/blocked domain lists, bypassing the egress policy.
A browser-based AI agent's egress control is a key isolation boundary. This bypass lets a third party steering the agent's browser tools exfiltrate data to a disallowed host or probe private/cloud-metadata endpoints, defeating the allowlist the agent relies on.
A page the agent opens, or content that steers the agent's browser tools, can add a backslash to a URL's query to bypass the applied egress policy and send requests to private addresses, to hosts outside allowed_domains, or to hosts in blocked_domains (affects fetch, XHR, sendBeacon, WebSocket and passive asset requests).
pydantic-ai-harness / Pydantic AI Harness PlaywrightBrowser
Upgrade to the patched version of pydantic-ai-harness. Until then, enforce egress outside the browser with a firewall or filtering proxy and do not rely on the browser's domain lists for untrusted pages.
Pydantic AI GitHub Security Advisory GHSA-g87v-g79r-whvjNVD — CVE-2026-136638
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →