CVE-2026-107292
Last modified
CVE-2026-107292 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic-ai | >= 1.34.0, < 2.0.0b1; >= 2.0.0b1, < 2.30.0 |
| pydantic | pydantic-ai-slim | >= 1.34.0, < 2.0.0b1; >= 2.0.0b1, < 2.30.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-107292?
How severe is CVE-2026-107292?
How do I fix CVE-2026-107292?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107287Pydantic AI is a Python agent framework for building applica…6.5
- CVE-2026-107288Pydantic AI is a Python agent framework for building applica…3.7
- CVE-2026-107289Pydantic AI is a Python agent framework for building applica…6.8
- CVE-2026-10729An HTML injection vulnerability in the notification email fo…1.2
- CVE-2026-107290Pydantic AI is a Python agent framework for building applica…6.5
- CVE-2026-107291Pydantic AI is a Python agent framework for building applica…2.3
- CVE-2026-107293Pydantic AI is a Python agent framework for building applica…2.3
- CVE-2026-107294Pydantic AI is a Python agent framework for building applica…6.5
- CVE-2026-107295Pydantic AI is a Python agent framework for building applica…7.6
- CVE-2026-107296msgpack5 is a msgpack v5 implementation for node.js and the …3.7
- CVE-2026-107297msgpack5 is a msgpack v5 implementation for node.js and the …5.9
- CVE-2026-107298msgpack5 is a msgpack v5 implementation for node.js and the …5.3
Are you affected by CVE-2026-107292?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
