CVE Catalog

CVE-2026-107292

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

Pydantic AI from 1.34.0 until 1.107.5 and from 2.24.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.

Risk Assessment

This can lead to data disclosure or unwanted side effects, as the attacker gains access to agent tools with the developer's privileges.

Recommendation

Update Pydantic AI to version 1.107.5 or 2.30.0 to fix the Host header validation.

Other vulnerabilities in Pydantic AI

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS