CVE-2026-136638
PlaywrightBrowser egress policy skips requests whose URL query contains a backslash
Check your servers for CVE-2026-136638
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-136638 affects pydantic-ai-harness, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.2% of all scored CVEs. Scores of 2 Dec 2026.
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
pydantic-ai-harness
package
pydantic-ai-harness |
affected from 0.24.0 up to and including 0.73.0
Other versions: unaffected
|
Is my server affected?
Find the installed version of pydantic-ai-harness and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i pydantic-ai-harness
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-136638 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-136638RHEL, Rocky, Alma, Fedora
rpm -q pydantic-ai-harness
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-136638Alpine
apk list --installed | grep -i pydantic-ai-harnessWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-136638
trivy image --scanners vuln IMAGE | grep CVE-2026-136638
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-g87v-g79r-whvj github.com · vendor advisory
Source: the record CVE-2026-136638 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse