Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-107287
Published:October 08, 2026
Updated:October 10, 2026
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.7 and 2.52.0, the local web_fetch_tool and the WebFetch local fallback can consume excessive CPU and memory during HTML-to-Markdown conversion of attacker-controlled HTML containing deeply nested block elements. Conversion repeatedly reprocesses accumulated text and can greatly expand intermediate output before the returned-content limit is applied, allowing a model-directed fetch to delay other work in the process. Provider-native web fetching is not affected. This issue is fixed in versions 1.107.7 and 2.52.0.
Affected Packages
pydantic-ai-slim (CONDA):
Affected version(s) >=2.0.0 <2.52.0
Fix Suggestion:
Update to version 2.52.0
pydantic-ai (CONDA):
Affected version(s) >=2.0.0 <2.52.0
Fix Suggestion:
Update to version 2.52.0
https://github.com/pydantic/pydantic-ai.git (GITHUB):
Affected version(s) >=v1.77.0 <v1.107.7
Fix Suggestion:
Update to version v1.107.7
https://github.com/pydantic/pydantic-ai.git (GITHUB):
Affected version(s) >=v2.0.0b1 <v2.52.0
Fix Suggestion:
Update to version v2.52.0
pydantic-ai-slim (PYTHON):
Affected version(s) >=2.0.0b1 <2.52.0
Fix Suggestion:
Update to version 2.52.0
pydantic-ai-slim (PYTHON):
Affected version(s) >=1.77.0 <1.107.7
Fix Suggestion:
Update to version 1.107.7
pydantic-ai (PYTHON):
Affected version(s) >=1.77.0 <1.107.7
Fix Suggestion:
Update to version 1.107.7
pydantic-ai (PYTHON):
Affected version(s) >=2.0.0b1 <2.52.0
Fix Suggestion:
Update to version 2.52.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
Inefficient Algorithmic Complexity
EPSS
Base Score:
0.28