nday
CVE-2026-136641 GHSA-mj96-6529-3cpf

PlaywrightBrowser's egress policy does not cover WebRTC, WebTransport, WebSocketStream or FedCM traffic

pydantic / pydantic-ai-harness

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

SSRF
CWE-918, stated by the CNA Pydantic
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA Pydantic
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA Pydantic
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA Pydantic
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA Pydantic
stage
DIS
disclosed
cvss
6.8 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-25T09:39Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA Pydantic.

Event log

+DISdisclosed

CVE record published by Pydantic. CVSS 6.8, medium.

src cvelist · nday , observed live · raw
{
  "id": 548596,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-136641",
  "occurred_at": "2026-11-25T09:39:09.163Z",
  "observed_at": "2026-11-25T10:03:52.570118Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 6.8,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-25T09:39:09.163Z",
    "assigner_short_name": "Pydantic"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.