Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-107295
Published:October 08, 2026
Updated:October 11, 2026
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.
Affected Packages
pydantic-ai (CONDA):
Affected version(s) >=2.0.0 <2.28.0
Fix Suggestion:
Update to version 2.28.0
pydantic-ai-slim (CONDA):
Affected version(s) >=2.0.0 <2.28.0
Fix Suggestion:
Update to version 2.28.0
https://github.com/pydantic/pydantic-ai.git (GITHUB):
Affected version(s) >=v2.0.0b1 <v2.28.0
Fix Suggestion:
Update to version v2.28.0
https://github.com/pydantic/pydantic-ai.git (GITHUB):
Affected version(s) >=v1.34.0 <v1.107.4
Fix Suggestion:
Update to version v1.107.4
pydantic-ai-slim (PYTHON):
Affected version(s) >=2.0.0b1 <2.28.0
Fix Suggestion:
Update to version 2.28.0
pydantic-ai (PYTHON):
Affected version(s) >=2.0.0b1 <2.28.0
Fix Suggestion:
Update to version 2.28.0
pydantic-ai-slim (PYTHON):
Affected version(s) >=1.34.0 <1.107.4
Fix Suggestion:
Update to version 1.107.4
pydantic-ai (PYTHON):
Affected version(s) >=1.34.0 <1.107.4
Fix Suggestion:
Update to version 1.107.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Cross-Site Request Forgery (CSRF)
Origin Validation Error
EPSS
Base Score:
0.16