CVE-2026-107292 in Pydantic Ai
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Pydantic | Pydantic Ai | ≥ 1.34.0, < 1.107.5 ≥ 2.0.0, < 2.30.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-107292 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L |
| Published | 2026-10-08 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-346: CWE-346
CWE-350: CWE-350
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-346
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-346
CAPEC-76 Manipulating Web Input to File System Calls via CWE-346
CAPEC-142 DNS Cache Poisoning via CWE-346, CWE-350
CAPEC-275 DNS Rebinding via CWE-350
Show all 18
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-346
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-346
CAPEC-388 Application API Button Hijacking via CWE-346
CAPEC-73 User-Controlled Filename via CWE-350
CAPEC-75 Manipulating Writeable Configuration Files via CWE-346
CAPEC-89 Pharming via CWE-346, CWE-350
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-346
CAPEC-141 Cache Poisoning via CWE-346
CAPEC-160 Exploit Script-Based APIs via CWE-346
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-346
CAPEC-386 Application API Navigation Remapping via CWE-346
CAPEC-510 SaaS User Request Forgery via CWE-346
CAPEC-21 Exploitation of Trusted Identifiers via CWE-346
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A medium severity vulnerability (CVE-2026-107292) affects the target system. 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 d...
Questions
What is CVE-2026-107292?
A medium severity vulnerability (CVE-2026-107292) affects the target system. 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 d...
What is the CVSS score for CVE-2026-107292?
CVE-2026-107292 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L. EPSS: 0.2%.
Is CVE-2026-107292 actively exploited?
No confirmed active exploitation of CVE-2026-107292 as of 2026-10-14.
How do I remediate CVE-2026-107292?
Apply vendor patches for CVE-2026-107292. Monitor Pydantic advisories.
What systems are affected by CVE-2026-107292?
CVE-2026-107292 affects Pydantic Pydantic Ai.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Pydantic","product":"Pydantic Ai","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.