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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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
| Vendor | Product | Versions |
|---|---|---|
| Pydantic | Pydantic Ai | >= 1.34.0, < 1.107.4 |
| Pydantic | Pydantic Ai | >= 2.0.0, < 2.28.0 |
References
- https://github.com/pydantic/pydantic-ai/pull/7382Patch, Issue Tracking
- https://github.com/pydantic/pydantic-ai/pull/7383Patch, Issue Tracking
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.4Patch, Release Notes
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.28.0Patch, Release Notes
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-h4xc-3qfq-jf93Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
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…4.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…5.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
