CVE-2026-107295
Last modified
CVE-2026-107295 is a high-severity vulnerability rated 7.6/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 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation.
Description
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation. A website visited by a developer can submit a browser-compatible request to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges and credentials of the local process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic-ai | >= 1.34.0, < 1.107.4; >= 2.0.0b1, < 2.28.0 |
| pydantic | pydantic-ai-slim | >= 1.34.0, < 1.107.4; >= 2.0.0b1, < 2.28.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-107295?
How severe is CVE-2026-107295?
How do I fix CVE-2026-107295?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-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-107292Pydantic AI is a Python agent framework for building applica…6.4
- 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-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
- CVE-2026-107299msgpack5 is a msgpack v5 implementation for node.js and the …5.9
- CVE-2026-1073The Purchase Button For Affiliate Link plugin for WordPress …4.3
- CVE-2026-107300msgpack5 is a msgpack v5 implementation for node.js and the …7.5
Are you affected by CVE-2026-107295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
