CVE-2026-107287Pydantic Ai
Media 6.5 Sin autenticación
Seguir: esta CVE · Pydantic · Pydantic Ai Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 8 oct 2026
- Actualizada
- 14 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pydantic Ai.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | pydantic-ai |
≥ 1.77.0 < 1.107.7 |
1.107.7 |
pip install "pydantic-ai>=1.107.7" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.52.0 |
2.52.0 |
pip install "pydantic-ai>=2.52.0" |
| PyPI | pydantic-ai |
≥ 1.77.0 < 1.107.7 |
1.107.7 |
pip install "pydantic-ai>=1.107.7" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.52.0 |
2.52.0 |
pip install "pydantic-ai>=2.52.0" |
| PyPI | pydantic-ai-slim |
≥ 1.77.0 < 1.107.7 |
1.107.7 |
pip install "pydantic-ai-slim>=1.107.7" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.52.0 |
2.52.0 |
pip install "pydantic-ai-slim>=2.52.0" |
| PyPI | pydantic-ai-slim |
≥ 1.77.0 < 1.107.7 |
1.107.7 |
pip install "pydantic-ai-slim>=1.107.7" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.52.0 |
2.52.0 |
pip install "pydantic-ai-slim>=2.52.0" |
Según OSV / GitHub Advisories (GHSA-v36g-jcw9-x7cw, PYSEC-2026-4281, PYSEC-2026-4290). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pydantic | pydantic_ai | ≥ 1.77.0 < 1.107.7 |
| pydantic | pydantic_ai | ≥ 2.0.0 < 2.52.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Patch Release Notes Vendor Advisory
- github.com Patch Release Notes Vendor Advisory
- github.com Vendor Advisory