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

CVE-2026-136640

NVD

Vulnerability Summary

Summary Pydantic AI Harness's `PlaywrightBrowser` refuses cloud metadata addresses such as `169.254.169.254` by default, but it classified IPv6 addresses only by the ranges the Python standard library assigns to them. An IPv6 address that embeds a metadata IPv4 address under a network's own NAT64 prefix, or a metadata or private IPv4 address in an ISATAP interface identifier, is a global unicast address, so the browser opened it. On a network whose NAT64 or SIIT translator uses its own prefix, the request reaches the metadata service, and the response can be returned to the model. Details This affects applications that use `PlaywrightBrowser` with its default `block_private_addresses=True` to open pages or URLs that an attacker can influence, on an IPv6 network with a NAT64 or SIIT translator configured with a prefix other than `64:ff9b::/96` or `64:ff9b:1::/48`. Setting `allowed_domains` does not prevent it when the attacker controls content on an allowed site, because sub-frames are not bounded by the allowlist. On Python versions before 3.11.10 and 3.12.4, 6to4 forms of metadata addresses were also let through. The assumed attacker is a third party with no access to the application who controls a page or other content the agent opens, and who knows the network's NAT64 prefix. The block now refuses every IP address that Pydantic AI's URL download guard refuses. It decodes the embedded IPv4 of every standardized IPv6 transition form for the cloud metadata addresses, including Azure's `168.63.129.16`, and the ISATAP forms of private addresses. As there, private (non-metadata) IPv4 addresses embedded under an operator-chosen NAT64 prefix are not decoded. Mitigation Upgrade to a patched version of `pydantic-ai-harness`. Until then, deny cloud metadata destinations for the browser's traffic at the NAT64 translator or a host egress firewall, or do not open untrusted URLs with `PlaywrightBrowser` on such networks.
Severity Level
MEDIUM(6.8)
Published Date
Nov 25, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
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 6.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • pydantic-ai-harness >= 0.24.0, <= 0.73.0
Patched Versions
  • pydantic-ai-harness 0.74.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 25, 2026Published
  • Nov 25, 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-136640. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 08:01 UTC