StraitOfVuln
Latest / CVE-2026-107287

CVE-2026-107287

MediumCVSS 6.5 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2026-107287
Published / updated
08 Oct 2026, 16:17 UTC · last modified 14 Oct 2026, 01:17 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
Affected products
Pydantic Ai
Affected versions
Pydantic Ai: ≥ 1.77.0, < 1.107.7
Pydantic Ai: ≥ 2.0.0, < 2.52.0
Fixed versions
pydantic ai 1.107.7, pydantic ai 2.52.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.28% probability of exploitation in the next 30 days · 22% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pydantic ai 1.107.7, pydantic ai 2.52.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com