Technical impact
Pydantic AI Harness's PlaywrightBrowser enforces its egress policy only for HTTP requests and page WebSockets; it does not apply the same restrictions to WebRTC, WebTransport, WebSocketStream or FedCM traffic. A page that the agent opens can instruct the browser to perform STUN/TURN, WebTransport, WebSocketStream, or FedCM requests to any host and port chosen by the page, including those disallowed by the policy. While responses from internal services are not readable through these protocols, the connection attempts can reveal host reachability and expose private data returned by WebSocketStream connections, thereby providing a covert channel for policy violations.
Affected Systems
Versions of pydantic-ai-harness prior to 0.74.0 are affected. The 0.74.0 update removes RTCPeerConnection, WebTransport, WebSocketStream, IdentityCredential, and IdentityProvider from all pages, and rejects FedCM calls, closing the bypass. Applications that use earlier releases and load third‑party pages are therefore vulnerable.
Risk and Exploitability
The CVSS score of 6.8 indicates a moderate severity, and the vulnerability is not yet listed in CISA KEV or EPSS data, meaning no public exploitation evidence is documented. However, the attack vector relies on an attacker controlling a page that the harness navigates to; such an attacker can easily trigger the bypass, potentially connecting to internal resources or leaking information via WebSocketStream. Since the remaining open paths use UDP for WebTransport, the risk is heightened if UDP traffic is allowed. Defenders should treat this as a medium‑to‑high threat until the fix is applied.