CVE-2026-107295

published 8 Oct 2026 · updated 16 Nov 2026

`pydantic-ai-slim` web UI `/api/chat` accepts browser-simple cross-origin requests that can trigger agent tool execution

7.6HighCVSS 7.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation. A website visited by a developer can submit a browser-compatible request to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges and credentials of the local process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pydantic>=1.34.0 <1.107.4, >=2.0.0b1 <2.28.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107295 severity on Zeptric[![CVE-2026-107295](https://zeptric.io/badge/cve/CVE-2026-107295.svg)](https://zeptric.io/cve/CVE-2026-107295)