CVE-2026-136638
PlaywrightBrowser egress policy skips requests whose URL query contains a backslash
AI summary AI generated
An attacker controlling page script or content that steers the agent can add a backslash to a URL query to bypass the PlaywrightBrowser egress policy in pydantic-ai-harness and reach private and blocked hosts.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running pydantic-ai-harness >= 0.24.0, <= 0.73.0
Vulnerability facts
- Affected
- pydantic-ai-harness >= 0.24.0, <= 0.73.0
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.41% chance of exploitation in 30 days (percentile 27, 2026-11-28)
- CWE
- CWE-436, CWE-918
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| pydantic-ai-harness | >= 0.24.0, <= 0.73.0 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Fixed: pydantic-ai-harness 0.74.0
Upgrade pydantic-ai-harness to 0.74.0 or later
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-136638. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-136638.md Affected: pydantic-ai-harness >= 0.24.0, <= 0.73.0 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for pydantic-ai-harness: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-136638 being exploited?
There is no confirmed exploitation: CVE-2026-136638 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-136638?
Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-136638?
pydantic-ai-harness >= 0.24.0, <= 0.73.0.
Is there a fix for CVE-2026-136638?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-136638?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More pydantic vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 3.7 | CVE-2026-136641 PlaywrightBrowser's egress policy does not cover WebRTC, WebTransport, WebSocketStream or FedCM traffic | pydantic | EPSS 41% | |
| MEDIUM 5.9 | CVE-2026-133505 Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded | pydantic | EPSS 28% | |
| MEDIUM 6.9 | CVE-2026-133421 Quadratic time timedelta validation in Pydantic V1 | pydantic | EPSS 38% | |
| MEDIUM 6.9 | CVE-2026-133422 Quadratic time unique_items list validation in Pydantic V1 | pydantic | EPSS 38% | |
| MEDIUM 6.3 | CVE-2026-133424 Validation bypass of aliased fields in TypedDict and dataclasses allowing extra data | pydantic | EPSS 40% |