CVE-2026-107295Pydantic Ai
Alta 7.6 Sin autenticación
Seguir: esta CVE · Pydantic · Pydantic Ai Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 61
- CVSS 3.1
- 7.6
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 8 oct 2026
- Actualizada
- 13 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-352
- 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:L/I:H/A:L
Qué pasa
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation. A website visited by a developer can submit a browser-compatible request to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges and credentials of the local process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.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.34.0 < 1.107.4 |
1.107.4 |
pip install "pydantic-ai>=1.107.4" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.28.0 |
2.28.0 |
pip install "pydantic-ai>=2.28.0" |
| PyPI | pydantic-ai |
≥ 1.34.0 < 1.107.4 |
1.107.4 |
pip install "pydantic-ai>=1.107.4" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.28.0 |
2.28.0 |
pip install "pydantic-ai>=2.28.0" |
| PyPI | pydantic-ai-slim |
≥ 1.34.0 < 1.107.4 |
1.107.4 |
pip install "pydantic-ai-slim>=1.107.4" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.28.0 |
2.28.0 |
pip install "pydantic-ai-slim>=2.28.0" |
| PyPI | pydantic-ai-slim |
≥ 1.34.0 < 1.107.4 |
1.107.4 |
pip install "pydantic-ai-slim>=1.107.4" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.28.0 |
2.28.0 |
pip install "pydantic-ai-slim>=2.28.0" |
Según OSV / GitHub Advisories (GHSA-h4xc-3qfq-jf93, PYSEC-2026-4278, PYSEC-2026-4287). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pydantic | pydantic_ai | ≥ 1.34.0 < 1.107.4 |
| pydantic | pydantic_ai | ≥ 2.0.0 < 2.28.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Patch Issue Tracking
- github.com Patch Issue Tracking
- github.com Patch Release Notes
- github.com Patch Release Notes
- github.com Mitigation Vendor Advisory