1. Accueil
  2. Vulnérabilités
  3. CVE-2026-107287

CVE-2026-107287

Pydantic AI: Excessive resource use when local web fetching converts nested HTML

Publiée le 8 oct. 2026 · modifiée le 14 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 34/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Pydantic (4 ligne(s))
Pydantic
ProduitVersionsCorrigé dansSource
Pydantic ai Versions non précisées — CNA (éditeur ou attributeur)
pydantic-ai-slim Versions non précisées — CNA (éditeur ou attributeur)
Pydantic ai de 1.77.0 (inclus) à 1.107.7 (exclu) — NVD
Pydantic ai de 2.0.0 (inclus) à 2.52.0 (exclu) — NVD
Pypi (8 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
pydantic-ai de 1.77.0 (inclus) à 1.107.7 (exclu) 1.107.7 OSV
pydantic-ai de 2.0.0b1 (inclus) à 2.52.0 (exclu) 2.52.0 OSV
pydantic-ai de 1.77.0 (inclus) à 1.107.7 (exclu) 1.107.7 GitHub Advisory
pydantic-ai de 2.0.0b1 (inclus) à 2.52.0 (exclu) 2.52.0 GitHub Advisory
pydantic-ai-slim de 1.77.0 (inclus) à 1.107.7 (exclu) 1.107.7 OSV
pydantic-ai-slim de 2.0.0b1 (inclus) à 2.52.0 (exclu) 2.52.0 OSV
pydantic-ai-slim de 1.77.0 (inclus) à 1.107.7 (exclu) 1.107.7 GitHub Advisory
pydantic-ai-slim de 2.0.0b1 (inclus) à 2.52.0 (exclu) 2.52.0 GitHub Advisory

Correctif

Mise à jour — PyPI/pydantic-ai 1.107.7; PyPI/pydantic-ai 2.52.0; PyPI/pydantic-ai-slim 1.107.7; PyPI/pydantic-ai-slim 2.52.0source officielle

Source : OSV

Mise à jour — PyPI/pydantic-ai 1.107.7; PyPI/pydantic-ai 2.52.0; PyPI/pydantic-ai-slim 1.107.7; PyPI/pydantic-ai-slim 2.52.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-400 · Autre (CWE-400)

Comment sont obtenues et calculées ces données