Medium severity · published Oct 8, 2026
CVE-2026-107292
Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header
6.4
CVSS
0.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
High
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
pydantic-ai · pydantic
>= 1.34.0, < 2.0.0b1; >= 2.0.0b1, < 2.30.0 · source: vendor
PY
pydantic-ai-slim · pydantic
>= 1.34.0, < 2.0.0b1; >= 2.0.0b1, < 2.30.0 · source: vendor
PA
Pydantic AI · Pydantic
1.34.0 before 1.107.5; 2.0.0 before 2.30.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107292
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107292
x_refsource_CONFIRM
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9
x_refsource_MISC
https://github.com/pydantic/pydantic-ai/pull/7437
x_refsource_MISC
https://github.com/pydantic/pydantic-ai/pull/7438
x_refsource_MISC
https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe
x_refsource_MISC
https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7
x_refsource_MISC
https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5
More from pydantic-ai
8.6
CVE-2026-25580
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI
7.6
CVE-2026-107295
`pydantic-ai-slim` web UI `/api/chat` accepts browser-simple cross-origin requests that can trigger agent tool execution
7.5
CVE-2026-107286
Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends early
6.8
CVE-2026-107289
Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv6 zone identifier (incomplete fix for CVE-2026-46678 and CVE-2026-48782)
6.8
CVE-2026-54249
VercelAIAdapter trusts client-controlled `providerMetadata` to construct `UploadedFile` — S3/GCS confused deputy via provider metadata injection
