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

CVE-2026-107294

Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl

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

Faible 36/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.2 and 2.24.0, web_fetch_tool, the WebFetch local fallback, and remote FileUrl media downloads buffer the complete HTTP response body before enforcing content-size controls. An attacker-influenced URL can stream an arbitrarily large response that exhausts process memory and crashes the worker; affected media types include ImageUrl, DocumentUrl, VideoUrl, and AudioUrl. SSRF protections remain effective, and the impact is limited to availability. This issue is fixed in versions 1.107.2 and 2.24.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.2 (exclu) — NVD
Pydantic ai de 2.0.0 (inclus) à 2.24.0 (exclu) — NVD
Pypi (8 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
pydantic-ai de 1.77.0 (inclus) à 1.107.2 (exclu) 1.107.2 OSV
pydantic-ai de 2.0.0b1 (inclus) à 2.24.0 (exclu) 2.24.0 OSV
pydantic-ai de 1.77.0 (inclus) à 1.107.2 (exclu) 1.107.2 GitHub Advisory
pydantic-ai de 2.0.0b1 (inclus) à 2.24.0 (exclu) 2.24.0 GitHub Advisory
pydantic-ai-slim de 1.77.0 (inclus) à 1.107.2 (exclu) 1.107.2 OSV
pydantic-ai-slim de 2.0.0b1 (inclus) à 2.24.0 (exclu) 2.24.0 OSV
pydantic-ai-slim de 1.77.0 (inclus) à 1.107.2 (exclu) 1.107.2 GitHub Advisory
pydantic-ai-slim de 2.0.0b1 (inclus) à 2.24.0 (exclu) 2.24.0 GitHub Advisory

Correctif

Mise à jour — PyPI/pydantic-ai 1.107.2; PyPI/pydantic-ai 2.24.0; PyPI/pydantic-ai-slim 1.107.2; PyPI/pydantic-ai-slim 2.24.0source officielle

Source : OSV

Mise à jour — PyPI/pydantic-ai 1.107.2; PyPI/pydantic-ai 2.24.0; PyPI/pydantic-ai-slim 1.107.2; PyPI/pydantic-ai-slim 2.24.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)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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