CVE-2026-107292

published 8 Oct 2026 · updated 14 Oct 2026

Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header

6.4MediumCVSS 6.4EPSS 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 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pydantic>=1.34.0 <2.0.0b1, >=2.0.0b1 <2.30.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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