Skip to content
MediumVulnerability

CVE-2026-136638: Pydantic AI Harness PlaywrightBrowser egress policy bypass via backslash in URL

Identifier
CVE-2026-136638
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

CVE-2026-136638 affects pydantic-ai-harness's PlaywrightBrowser, whose egress policy treats any URL containing a backslash as having no host and allows script and asset requests with no host. A page script can add a backslash to a URL's query to reach private addresses and hosts in allowed_domains or blocked_domains, across fetch, XHR, sendBeacon, WebSocket and passive asset requests. Responses are readable only when the target permits cross-origin reads or accepts the WebSocket connection.

Mitigation

Upgrade pydantic-ai-harness to 0.74.0 or later. Until then, enforce egress outside the browser with a firewall or a filtering proxy, and do not rely on the browser's domain lists for untrusted pages.