{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-136638","assignerOrgId":"7cec5f2f-3032-4006-8740-31f605ffab5f","state":"PUBLISHED","assignerShortName":"Pydantic","dateReserved":"2026-11-25T00:02:37.214Z","datePublished":"2026-11-26T08:29:33.956Z","dateUpdated":"2026-11-26T08:29:33.956Z"},"containers":{"cna":{"title":"PlaywrightBrowser egress policy skips requests whose URL query contains a backslash","descriptions":[{"lang":"en","value":"Pydantic AI Harness's PlaywrightBrowser applies an egress policy to the requests a page makes. It treated any URL containing a backslash as having no host, and it allows script and asset requests with no host. A page script could therefore add a backslash to a URL's query to send requests to private addresses, to hosts outside allowed_domains, and to hosts in blocked_domains.\n\nThis affects applications that use PlaywrightBrowser to open pages or follow instructions an attacker can influence. It applies to fetch, XHR, sendBeacon, WebSocket and passive asset requests. Navigation and frames were not affected. A policy that limits every request kind to an allowlist did not prevent data from being sent to another host.\n\nResponses from private services could be read only when the service permits cross-origin reads or accepts the WebSocket connection. Current Chromium versions separately block many requests from public pages to private addresses, but not requests between public hosts, and not when the browser runs behind a forward proxy.\n\nThe assumed attacker is a third party with no access to the application who controls script on a page the agent opens, or content that steers the agent's browser tools.\n\nUpgrade 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."}],"affected":[{"vendor":"pydantic","product":"pydantic-ai-harness","collectionURL":"https://pypi.org","packageName":"pydantic-ai-harness","repo":"https://github.com/pydantic/pydantic-ai","defaultStatus":"unaffected","versions":[{"version":"0.24.0","lessThanOrEqual":"0.73.0","status":"affected","versionType":"python"}]}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-436","description":"CWE-436: Interpretation Conflict"},{"lang":"en","type":"CWE","cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-g87v-g79r-whvj","tags":["vendor-advisory"]}],"source":{"advisory":"GHSA-g87v-g79r-whvj","discovery":"UNKNOWN"},"providerMetadata":{"orgId":"7cec5f2f-3032-4006-8740-31f605ffab5f","shortName":"Pydantic","dateUpdated":"2026-11-26T08:29:33.956Z"}}}}