CVE-2026-107286Pydantic Ai
Alta 7.5 Sin autenticación
Seguir: esta CVE · Pydantic · Pydantic Ai Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 8 oct 2026
- Actualizada
- 13 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-772
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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 2.10.0 until 2.53.0, streamed requests made through ConcurrencyLimitedModel or limit_model_concurrency can retain shared concurrency slots because anyio.CapacityLimiter associates an acquired slot with the borrowing task while streaming cleanup can run in a different task. Early stream termination, cancellation, consumer exceptions, or complete stream_text() consumption with debounce_by=0.1 can therefore leave capacity occupied, eventually preventing later requests that share the long-lived limiter from proceeding and causing a denial of service. Agent-level max_concurrency and non-streaming model requests are not affected. This issue is fixed in version 2.53.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 |
≥ 2.10.0 < 2.53.0 |
2.53.0 |
pip install "pydantic-ai>=2.53.0" |
| PyPI | pydantic-ai |
≥ 2.10.0 < 2.53.0 |
2.53.0 |
pip install "pydantic-ai>=2.53.0" |
| PyPI | pydantic-ai-slim |
≥ 2.10.0 < 2.53.0 |
2.53.0 |
pip install "pydantic-ai-slim>=2.53.0" |
| PyPI | pydantic-ai-slim |
≥ 2.10.0 < 2.53.0 |
2.53.0 |
pip install "pydantic-ai-slim>=2.53.0" |
Según OSV / GitHub Advisories (GHSA-6fqq-452j-qhrp, PYSEC-2026-4276, PYSEC-2026-4285). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pydantic | pydantic_ai | ≥ 2.10.0 < 2.53.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch Vendor Advisory
- github.com Patch Release Notes Vendor Advisory
- github.com Mitigation Vendor Advisory