CVE-2026-136638
Received Received - Intake

SSRF via Backslash in Pydantic AI Harness PlaywrightBrowser

Vulnerability report for CVE-2026-136638, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-26

Last updated on: 2026-11-26

Assigner: 7cec5f2f-3032-4006-8740-31f605ffab5f

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-26
Last Modified
2026-11-26
Generated
2026-11-26
AI Q&A
2026-11-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
pydantic pydantic-ai-harness 0.74.0
pydantic pydantic_ai_harness From 0.24.0 (inc) to 0.74.0 (exc)
pydantic pydantic_ai_harness 0.74.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-436 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.
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Pydantic AI Harness's PlaywrightBrowser allows a page script to bypass domain restrictions by adding a backslash to a URL query. This makes the egress policy treat the URL as having no host, enabling requests to private addresses, hosts outside allowed domains, or even blocked domains. Affected requests include fetch, XHR, sendBeacon, WebSocket, and passive asset requests.

Detection Guidance

Check if your system uses Pydantic AI Harness versions 0.24.0 to 0.73.0 by running: pip show pydantic-ai-harness. Inspect network logs for requests containing backslashes in URLs, particularly for fetch, XHR, sendBeacon, WebSocket, or asset requests. Monitor outbound traffic to private addresses or unauthorized domains.

Impact Analysis

An attacker controlling script on a page opened by the agent could send requests to unintended hosts, potentially accessing sensitive data if the target service allows cross-origin reads or accepts WebSocket connections. This could lead to data leaks or unauthorized interactions with internal services.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating confidentiality requirements in GDPR and HIPAA. It may result in data breaches if private services are accessed, potentially leading to non-compliance with data protection regulations.

Mitigation Strategies

Upgrade Pydantic AI Harness to version 0.74.0 or later. If upgrading is not immediately possible, enforce external egress controls using firewalls or filtering proxies to block unauthorized requests. Avoid relying solely on the browser's domain lists for untrusted pages.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-136638. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...