# CVE-2026-136638: PlaywrightBrowser egress policy skips requests whose URL query contains a backslash

Status: published. Published: 2026-11-26. Updated: 2026-11-26.

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.

## Remediation

- 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) — https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-g87v-g79r-whvj

## Affected products and versions

- pydantic / pydantic-ai-harness (pydantic-ai-harness): ≥ 0.24.0; ≤ 0.73.0 (affected, python). Source: CNA: Pydantic
-  / pydantic-ai-harness (pydantic-ai-harness): >= 0.24.0, <= 0.73.0 (affected, GitHub advisory range). Source: GitHub GHSA-g87v-g79r-whvj

## Severity and prioritization

- CVSS 3.1: 5.9 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N; source: CNA: Pydantic

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-436, CWE-918

## Exploit evidence

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

## References

- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-g87v-g79r-whvj (CNA: Pydantic; vendor-advisory)

- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-g87v-g79r-whvj (GitHub Security Advisories; advisory)

## Provenance

- CNA: Pydantic: https://www.cve.org/CVERecord?id=CVE-2026-136638; retrieved 2026-11-26; source updated 2026-11-26

- GitHub Security Advisories: https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-g87v-g79r-whvj; retrieved 2026-11-26; source updated 2026-11-25

Revision: b60746b0c015d70a450de6b74231e0f78eb643e35c82205cea5e42f5e383ead3

Canonical: https://y2.dev/cve/CVE-2026-136638

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.