Skip to content
MediumVulnerability

CVE-2026-136641: Pydantic AI Harness PlaywrightBrowser egress policy bypass via WebRTC

Identifier
CVE-2026-136641
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Pydantic AI Harness's PlaywrightBrowser enforces its egress policy on HTTP requests and page WebSockets but not on WebRTC, WebTransport, WebSocketStream, or the FedCM requests the browser sends itself. A page the agent opens can therefore reach hosts and ports the policy refuses, including under an allowlist-only policy. The affected flow is connection setup chosen by the page, and a page can learn whether a STUN target answers, while readable response bodies were not observed from ordinary internal services through WebRTC, WebTransport or FedCM.

Mitigation

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.