- Accueil
- Vulnérabilités
- CVE-2026-107294
CVE-2026-107294
Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- PYSEC-2026-4280 — Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl 15 oct. 2026
- PYSEC-2026-4289 — Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl 15 oct. 2026
- GHSA-v2xh-2vp8-57h8 — Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl 8 oct. 2026
Références
- https://github.com/pydantic/pydantic-ai/commit/7a64d049c3f5271a975cd1d64b2fa876d83ede1dx_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/e3824a58c82864ed26afb2887619834a4eb86cc8x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7141x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7308x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.2x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.24.0x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-v2xh-2vp8-57h8x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-aiPACKAGE
- https://pypi.org/project/pydantic-aiPACKAGE
- https://github.com/advisories/GHSA-v2xh-2vp8-57h8ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-107294ADVISORY
- https://pypi.org/project/pydantic-ai-slimPACKAGE
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)