CVE-2026-107290

Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`

MEDIUM
6.5
CVSS Score
Published: October 8, 2026 at 04:09 PM UTC
Updated: October 13, 2026 at 02:34 PM UTC
2 products affected across 1 vendorPydantic AIPydantic AI Slim

Using pydantic-ai by pydantic?

Get instant alerts when new vulnerabilities affect pydantic-ai - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.6 and 2.44.0, the local web_fetch_tool and the WebFetch local fallback process server-controlled responses with quadratic title extraction, whitespace normalization, and ordered-list numbering. An attacker-controlled page of modest size can therefore block the event loop for an extended period, stalling other agent runs and requests, while unsupported codecs or excessive HTML or JSON nesting can abort an individual run. This issue is fixed in versions 1.107.6 and 2.44.0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

References (13)

x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8397
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8399
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8418
x_refsource_MISCBroken Link
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/84332
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8434

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card