CVE-2026-107290Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`
- 6.5MediumCVSS base score
- 0.51%Exploitation in 30 daysEPSS · top 56% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.51% · top 56% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
- affected >= 1.77.0, < 1.107.6
- affected >= 2.0.0b1, < 2.44.0
- affected >= 1.77.0, < 1.107.6
- affected >= 2.0.0b1, < 2.44.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpydantic-aiGHSA-fpf4-vwcp-v4hp (opens in a new tab)
- PyPIpydantic-ai-slimGHSA-fpf4-vwcp-v4hp (opens in a new tab)
References
References13
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-fpf4-vwcp-v4hp (opens in a new tab)x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-ai/pull/8397 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8399 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8418 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/84332 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8434 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/2faa6181d8a17d83bc9516d035c5270db8730fa0 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/9cdc952e4c3319e85a3e04f2de49fbbb765bd38b (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/a93ea5226be1e93ae13131ae3f22287190411389 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/c3fd1cc1f15fdbf750d78e4e3ec1e8b4d6a3d920 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/fb92ccfc3ca2735dab877e2ed73856681bf72ad1 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.6 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.44.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-95093 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fpf4-vwcp-v4hp (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-107290)Record last updated .