CVE-2026-136641

LowCVSS 3.7/10Last modified Dec 2, 2026

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.

Metrics

CVSS 3.1 3.7/10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
pydanticpydantic-ai-harness>= 0.24.0, <= 0.73.0

References

Timeline

Published
Nov 25, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1366576.4IBM ContextForge MCP Gateway could allow an authenticated user to conduct server-side request forgery (SSRF) attacks, caused by improper pinCVE-2026-136663.5An improper neutralization of CRLF sequences ('CRLF Injection') vulnerability in Sharing API in Synology DiskStation Manager (DSM) before 7.CVE-2026-1366669.3WTW-NEKO provided by Wireless Tsukamoto CO., LTD. uses hard-coded credentials, which may allow an attacker to obtain administrative privilegCVE-2026-1366793.3NULL Pointer Dereference vulnerability in Samsung Open Source Walrus allows Input Data Manipulation.CVE-2026-1366805.5Reachable Assertion vulnerability in Samsung Open Source Walrus allows Input Data Manipulation.CVE-2026-1366916.3A vulnerability was determined in dayrui XunRuiCMS up to 4.7.4. The affected element is the function config_add of the file dayrui/App/Cms/ECVE-2026-1366927.3A vulnerability was identified in dayrui XunRuiCMS up to 4.7.4. The impacted element is the function down of the file dayrui/Fcms/Library/ApCVE-2026-1366936.5A security flaw has been discovered in NASA Core Flight System Limit Checker up to 7.0.1. This affects the function LC_WPOffsetValid of the CVE-2026-1366947.3A weakness has been identified in eosphoros-ai DB-GPT up to 0.8.2. This impacts the function skill_upload of the file packages/dbgpt-app/srcCVE-2026-1366953.7A security vulnerability has been detected in Lawouach ws4py up to 0.6.0. Affected is the function WebSocketBaseClient.connect of the file wCVE-2026-1366967.3A vulnerability was detected in Zhengzhou Weiwei Information Technology mayicms up to 5.8E. Affected by this vulnerability is an unknown funCVE-2026-1366976.3A flaw has been found in LibrePhotos up to 1.2.1. Affected by this issue is the function write_metadata of the file apps/backend/api/metadat
CVE-2026-136641: Low severity, CVSS 3.7 | Vulnix