CVE-2026-107294
Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.24.0 | pydantic-ai · -64 d desde divulgación | |
| Remediación | Parche 1.107.2 | pydantic-ai · -61 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-107294 divulgada · CVSS 6.5 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypipydantic-ai |
Corregida | 1.107.2, 2.24.0 | -61 d · -64 d | 2.68.0 no afectada |
pypipydantic-ai-slim |
Corregida | 1.107.2, 2.24.0 | -61 d · -64 d | 2.71.0 no afectada |
1.107.22.24.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-v2xh-2vp8-57h8https://github.com/pydantic/pydantic-ai/pull/7141https://github.com/pydantic/pydantic-ai/pull/7308https://github.com/pydantic/pydantic-ai/commit/7a64d049c3f5271a975cd1d64b2fa876d83ede1dhttps://github.com/pydantic/pydantic-ai/commit/e3824a58c82864ed26afb2887619834a4eb86cc8https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.2https://github.com/pydantic/pydantic-ai/releases/tag/v2.24.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
