Public vulnerability disclosure

CVE-2026-136638

PlaywrightBrowser egress policy skips requests whose URL query contains a backslash

publishedCWE-436CWE-918

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. This 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. Responses 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. The 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. 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.

Technical severity5.9 mediumCVSS 3.1 · CNA: Pydantic
Published2026-11-26Source updated 2026-11-26
Collected2026-11-262 attributed sources

Fixes and workarounds

Fix

pydantic-ai-harness (pip): GitHub reports patched versions 0.74.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-g87v-g79r-whvj

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
pydantic-ai-harness
pydantic
pydantic-ai-harness
https://pypi.org
≥ 0.24.0; ≤ 0.73.0 (affected, python)
Other versions: unaffected
CNA: Pydantic
pydantic-ai-harness

pydantic-ai-harness
pip
>= 0.24.0, <= 0.73.0 (affected, GitHub advisory range) GitHub GHSA-g87v-g79r-whvj

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 5.9
medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCNA: Pydantic

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide