Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAgent opens attacker-controlled page
-
ExploitPage script invokes WebSocketStream/WebRTC/WebTransport/FedCM
-
ExecutionBrowser connects to policy-refused internal host:port
-
ImpactProbe reachability and read WebSocketStream responses from private addresses
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an application that uses PlaywrightBrowser to open a page whose script an unprivileged third-party attacker controls; the attacker needs no access to the application itself. Under the default enforced egress policy, version 0.74.0 neutralizes RTCPeerConnection/webkitRTCPeerConnection, WebTransport, WebSocketStream, IdentityCredential/IdentityProvider, refuses navigator.credentials.get FedCM calls, and launches Chromium with FedCM and WebSocketStream disabled - so on a patched, default deployment these channels are closed. Residual exploitable conditions even after upgrade: WebTransport from workers; WebSocketStream from workers when the browser is reached over cdp_url; WebTransport in sandboxed iframes Chromium runs in their own process (headless=False and cdp_url); and documents loaded before attachment under cdp_context='default'. Limiting factors: FedCM requires a provider origin that is HTTPS or loopback; Chromium Local Network Access blocks WebTransport from public pages to private addresses (but does not block WebRTC); and WebRTC/WebTransport/FedCM expose only reachability/connection-setup, not internal response bodies - only WebSocketStream reads server responses. The only complete fix is upgrading to pydantic-ai-harness 0.74.0 or later; until then, run the browser behind a network egress filter that also covers UDP, or do not open untrusted URLs with PlaywrightBrowser. |
| Impact | This is a medium-severity SSRF (CWE-918, CVSS 6.8) whose real-world priority is moderate rather than urgent. The NVD vector (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N) reflects a network-reachable, no-privilege, scope-changing flaw, but AC:H and the description together show the practical impact is constrained: the bypass yields connection-setup traffic and STUN reachability probing to policy-refused internal hosts, and only the WebSocketStream path actually lets the page read a server's response (including from private addresses) - WebRTC, WebTransport and FedCM do not return an ordinary internal service's body. The CVSS C:H therefore looks generous for most of the bypass paths and is really driven by the WebSocketStream read primitive. No active exploitation is indicated (not in CISA KEV), and no EPSS score or working PoC was supplied - only the vendor advisory reference - so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month,' consistent with a fix-promptly-but-not-emergency posture. Net: a legitimate SSRF/egress-policy-bypass worth patching, but the limited read capability, the niche product footprint, and the precondition of an agent opening attacker-controlled pages keep it below high-urgency despite the network vector. |
| Exploit ScenarioDerived | An application uses PlaywrightBrowser with the default enforced egress policy and lets its agent open a URL an attacker influences. The attacker's page script opens a WebSocketStream (or issues WebRTC/WebTransport/FedCM setup) to an internal host and port the policy would otherwise refuse, probing internal reachability and, via WebSocketStream, reading what an internal WebSocket-speaking service returns. No public exploit code is identified; only the vendor GHSA advisory is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Pydantic AI Harness's PlaywrightBrowser applies its egress policy to ordinary HTTP requests and page WebSockets but not to WebRTC (STUN/TURN), WebTransport, WebSockets opened through WebSocketStream, or the background fetches Chromium performs for FedCM, so script on a page the agent opens can drive the browser to contact hosts and ports that allowed_domains/blocked_domains refuse. The affected range is pydantic-ai-harness 0.24.0 through 0.73.0, and the exposure applies to any application that points PlaywrightBrowser at pages a third party can influence. Practical impact is bounded: WebRTC, WebTransport and FedCM leak reachability and connection-setup only (no internal response bodies), while WebSocketStream is the one channel that lets the page read what a server, including one on a private address, sends back. No public exploit was identified at time of analysis; 0.74.0 closes these channels under the default enforced policy but leaves WebTransport and WebSocketStream reachable from workers, sandboxed out-of-process iframes (headless=False with cdp_url) and documents loaded before attachment under cdp_context='default'.
RemediationAI
Vendor-released patch: pydantic-ai-harness 0.74.0 (upgrade to 0.74.0 or later), which under the default enforced egress policy strips RTCPeerConnection, webkitRTCPeerConnection, WebTransport, WebSocketStream, IdentityCredential and IdentityProvider from every page and frame, blocks navigator.credentials.get for FedCM, and starts Chromium with FedCM and WebSocketStream disabled; see https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-mj96-6529-3cpf. The upgrade is not complete on its own: WebTransport from workers, WebSocketStream from workers when the browser is reached over cdp_url, WebTransport inside sandboxed iframes Chromium runs in their own process (headless=False combined with cdp_url), and documents loaded before attachment under cdp_context='default' all stay outside the policy, so deployments using cdp_url, headless=False or the default CDP context should treat those paths as open. For those residual paths, and for anyone who has not yet upgraded, the vendor-recommended compensating controls are to run the browser behind a network egress filter that also covers UDP (a TCP-only proxy or HTTP-level allowlist is insufficient because WebRTC STUN/TURN bypasses it), or to stop opening untrusted URLs with PlaywrightBrowser entirely; the trade-off is that a UDP-aware egress filter can break legitimate WebRTC-dependent sites, and restricting the agent to vetted URLs removes browsing capability. Note that FedCM-based abuse additionally requires an HTTPS or loopback provider origin, and Chromium's Local Network Access already blocks WebTransport from public pages to private addresses, though not WebRTC.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-918 server-side request forgery expressed at the browser-protocol layer. PlaywrightBrowser is a headless Chromium driver used by Pydantic AI agents; its egress guard intercepts the request and page-WebSocket surfaces that Playwright exposes, but several Chromium subsystems originate traffic below that interception point. RTCPeerConnection/webkitRTCPeerConnection emit STUN and TURN connection-setup packets over UDP to a page-selected destination, giving a reachability oracle; WebTransport opens an HTTP/3-style session to a page-chosen host; WebSocketStream creates an ordinary WebSocket through a path the WebSocket guard never observes, and unlike the other channels it returns readable application data to the page, including from private addresses. FedCM (navigator.credentials.get with an identity provider) makes the browser itself fetch the provider's /.well-known/web-identity, config, accounts and client-metadata URLs, with the page controlling the config URL path and client ID, so data can be steered to a host outside allowed_domains or one listed in blocked_domains, and the accounts request carries the profile's provider cookies. Boundary conditions matter: FedCM requires an HTTPS or loopback provider origin, and Chromium's Local Network Access blocks WebTransport from public pages to private addresses but does not block WebRTC. The vendor fix works by removing RTCPeerConnection, webkitRTCPeerConnection, WebTransport, WebSocketStream, IdentityCredential and IdentityProvider from every page and frame, refusing navigator.credentials.get FedCM calls, and launching Chromium with FedCM and WebSocketStream disabled - an in-page API-removal approach rather than a network-layer control, which is why worker contexts, out-of-process sandboxed iframes and pre-attachment documents under the default CDP context remain outside it.
Know when Pydantic gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attacker-controlled page script reliably triggers the bypass (AC:L, PR:N), pivots the browser into the internal network (S:C), but yields only limited disclosure - reachability plus WebSocketStream responses - so C:L, I:N, A:N.
Primary rating from Vendor (Pydantic).
CVSS VectorVendor: Pydantic
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Pydantic AI versions 0.0.26 through 1.55.x contain a server-side request forgery vulnerability in URL download functiona
Regular expression denial of service in Pydanic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service vi
HTTPX2's SOCKS5 proxy implementation omits TLS negotiation for WebSocket Secure (wss://) origins, exposing the full WebS
Cross-site request forgery in Pydantic AI's development web chat UI allows any website a developer happens to visit whil
Concurrency slot exhaustion in Pydantic AI 2.10.0 through 2.52.x lets streamed model requests permanently occupy slots i
Denial of service in Pydantic AI Harness (pydantic-ai-harness) 0.4.0 through 0.69.0 lets attacker-influenced tool output
Memory exhaustion via unbounded decompression in HTTPX2 (all versions before 2.12.0) allows any HTTP server the client c
Pydantic is a data validation and settings management using Python type hinting. Rated high severity (CVSS 7.5), this vu
Quadratic-time validation of untrusted ISO 8601 duration strings in Pydantic V1 lets remote attackers exhaust CPU by sub
Denial of service in Pydantic V1 arises when an application validates attacker-supplied lists into a field constrained w
Server-Side Request Forgery in Pydantic AI (versions 1.56.0-1.101.0, 2.0.0b1, 2.0.0b2) allows unauthenticated network at
EUVD-2026-135228
GHSA-fqpx-wxvv-g359
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB