AI NewsInfrastructureAnnouncement
Pydantic AI patches six security holes in its agent browser sandbox
Pydantic AI v2.74.0 fixes six security advisories in its agent browser. Four of them let an agent reach an address the sandbox was meant to block.

Why it mattersAn agent browser is a new kind of attack surface. The egress policy has to be checked as carefully as a firewall rule.
An agent you let drive a headless browser can still reach an address your sandbox was meant to block. Pydantic AI released v2.74.0 on 24 November 2026 to fix six ways that could happen. Five of them have CVEs. All six are rated medium severity by the project.
The four highest-impact fixes are in PlaywrightBrowser. That is the harness feature that lets an agent open and script a web page. Each one changes how the private-address block decides a URL is safe.
CVE-2026-136639: the block did not refuse IPv6 site-local addresses (fec0::/10). CVE-2026-136640: it let through IPv6 addresses sent under a network's own NAT64 prefix. That can route to a cloud metadata service. CVE-2026-136638: a URL with a backslash in its query was treated as having no host. The block never ran on it. GHSA-mj96-6529-3cpf, with no CVE: the egress policy only covered plain HTTP. It did not cover WebRTC, WebTransport, WebSocketStream or FedCM.
Two advisories cover the logs
Two other advisories cover the logs rather than the browser. CVE-2026-136642: OpenTelemetry instrumentation recorded the full elevenlabs_agents_custom_llm_extra_body field. That field can carry secret__ dynamic variables.
CVE-2026-136643: online evaluation let OpenTelemetry baggage set attributes on gen_ai.evaluation.result events. A caller can now write into an eval record. The team reads that record as ground truth.
Three breaking changes to check
The release also carries three breaking changes. On GPT-6.2, Pydantic AI now sends static instructions as leading input messages. GPT-6.2 never caches top-level instructions. Running the same agent against the old caching assumption now costs more per call.
When Gemini is streamed through OpenAIChatModel, the project has stopped summing Gemini's running usage totals. A token count from v2.74.0 on will not match a run on v2.73.
PlaywrightBrowser pages no longer have RTCPeerConnection, WebTransport, WebSocketStream or FedCM. That is how the sandbox now blocks the traffic those APIs would send.
Computer use arrives
The same release adds a new pydantic_ai.computer_use module and a ComputerTool. A Harness can now take a ComputerUse() capability. Eleven sandbox platforms expose a desktop=True option: DockerContainer, DaytonaSandbox, E2BSandbox, SpritesSandbox, BoxLiteSandbox, BoxdSandbox, SmolSandbox, RenderSandbox, ModalSandbox, KubernetesSandbox and OpenSandbox.
Pydantic AI then routes the computer tool to each vendor's native one. Anthropic's computer use tool for Claude. OpenAI's native computer tool on GPT-5.4 and later. Google's computer use tool on Gemini. A separate CDPBrowser capability drives Chrome through raw DevTools Protocol commands. It is for teams that need to script a real browser instead of the Playwright one.
The pattern across the six advisories is the same. The agent browser is a new kind of attack surface. Its egress policy has to be checked for every address family, every URL shape, and every transport the browser exposes.
Source
pydantic/pydantic-ai v2.74.0 release notes on GitHub.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.

