CVE-2026-136638: pydantic-ai-harness SSRF

CVE-2026-136638

NVDCVSS scored by 7cec5f2f-3032-4006-8740-31f605ffab5f

Vulnerability Summary

Pydantic AI Harness's PlaywrightBrowser applies an egress policy to the requests a page makes. It treated any URL containing a backslash as having no host, and it allows script and asset requests with no host. A page script could therefore add a backslash to a URL's query to send requests to private addresses, to hosts outside allowed_domains, and to hosts in blocked_domains.

This affects applications that use PlaywrightBrowser to open pages or follow instructions an attacker can influence. It applies to fetch, XHR, sendBeacon, WebSocket and passive asset requests. Navigation and frames were not affected. A policy that limits every request kind to an allowlist did not prevent data from being sent to another host.

Responses from private services could be read only when the service permits cross-origin reads or accepts the WebSocket connection. Current Chromium versions separately block many requests from public pages to private addresses, but not requests between public hosts, and not when the browser runs behind a forward proxy.

The assumed attacker is a third party with no access to the application who controls script on a page the agent opens, or content that steers the agent's browser tools.

Upgrade pydantic-ai-harness to 0.74.0 or later. Until then, enforce egress outside the browser with a firewall or a filtering proxy, and do not rely on the browser's domain lists for untrusted pages.
Severity Level
MEDIUM(5.9)
Published Date
Nov 26, 2026
Last Modified
Nov 26, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
EPSS Score (30-Day)
0.41%Probability
Root Weakness (CWE)
Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
The web server receives a URL or similar request from an upstream component and retrieves its contents, but does not sufficiently ensure that the request is being sent to the expected destination.
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • pydantic-ai-harness >= 0.24.0 and <= 0.73.0
Patched Versions
  • pydantic-ai-harness 0.73.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run pydantic-ai-harness and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 26, 2026Published
  • Nov 26, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new pydantic-ai-harness CVEsYou are reading CVE-2026-136638. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 26, 2026 11:01 UTC