CVE-2026-136641
PlaywrightBrowser's egress policy does not cover WebRTC, WebTransport, WebSocketStream or FedCM traffic
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
- 3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/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: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
Pydantic AI Harness's PlaywrightBrowser enforces its egress policy on HTTP requests and page WebSockets, but not on WebRTC or WebTransport connections, WebSockets opened with WebSocketStream, or the requests the browser itself sends for FedCM. A page the agent opens can make the browser send WebRTC (STUN and TURN), WebTransport and WebSocketStream traffic, and FedCM requests, to hosts and ports that the policy refuses, including under a policy that limits every request kind to an allowlist. This affects applications that use PlaywrightBrowser to open pages an attacker can influence. The traffic is each protocol's connection setup, sent to a destination the page chooses. A page can learn whether a target answers a STUN request. No response body from an ordinary internal service was readable through WebRTC, WebTransport or FedCM. A WebSocketStream is an ordinary WebSocket that the WebSocket guard does not see, opened from a page, a frame or a worker, and the page reads what the server sends, including from a private address. Chromium's Local Network Access blocks WebTransport from public pages to private addresses, but does not block WebRTC. A FedCM call (navigator.credentials.get with an identity provider) makes the browser fetch the provider's /.well-known/web-identity, config, accounts and client metadata URLs. The page chooses the config URL's path and the client ID, so it can send data to a host outside allowed_domains or listed in blocked_domains. The accounts request carries the provider's cookies from the browser profile. FedCM requires a provider origin that is HTTPS or loopback. The assumed attacker is a third party with no access to the application who controls script on a page the agent opens. Under an enforced egress policy, which is the default, pydantic-ai-harness 0.74.0 removes RTCPeerConnection, webkitRTCPeerConnection, WebTransport, WebSocketStream, IdentityCredential and IdentityProvider from every page and frame, refuses FedCM calls to navigator.credentials.get, and launches Chromium with FedCM and WebSocketStream turned off. These paths stay outside the policy: WebTransport from workers; WebSocketStream from workers in a browser reached over cdp_url; WebTransport in sandboxed iframes that Chromium runs in their own process (headless=False and cdp_url); and documents loaded before attachment under cdp_context='default'. Upgrade pydantic-ai-harness to 0.74.0 or later. For the paths the upgrade leaves open, and until you upgrade, run the browser behind a network egress filter that also covers UDP, or do not open untrusted URLs with PlaywrightBrowser.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| pydantic-ai-harness | >= 0.24.0, <= 0.73.0 | — | cvelist |
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-136641. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-136641.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.
References
FAQ
Is CVE-2026-136641 being exploited?
There is no confirmed exploitation: CVE-2026-136641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-136641?
Low: CVSS 3.7 (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-136641?
pydantic-ai-harness >= 0.24.0, <= 0.73.0.
Is there a fix for CVE-2026-136641?
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-136641?
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 |
|---|---|---|---|---|
| MEDIUM 5.9 | CVE-2026-136638 PlaywrightBrowser egress policy skips requests whose URL query contains a backslash | 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% |