CVE-2026-107292Pydantic Ai
Media 6.4 Sin autenticación
Seguir: esta CVE · Pydantic · Pydantic Ai Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 3.1
- 6.4
- 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:H/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 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.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.5 |
1.107.5 |
pip install "pydantic-ai>=1.107.5" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.30.0 |
2.30.0 |
pip install "pydantic-ai>=2.30.0" |
| PyPI | pydantic-ai |
≥ 1.34.0 < 1.107.5 |
1.107.5 |
pip install "pydantic-ai>=1.107.5" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.30.0 |
2.30.0 |
pip install "pydantic-ai>=2.30.0" |
| PyPI | pydantic-ai-slim |
≥ 1.34.0 < 1.107.5 |
1.107.5 |
pip install "pydantic-ai-slim>=1.107.5" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.30.0 |
2.30.0 |
pip install "pydantic-ai-slim>=2.30.0" |
| PyPI | pydantic-ai-slim |
≥ 1.34.0 < 1.107.5 |
1.107.5 |
pip install "pydantic-ai-slim>=1.107.5" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.30.0 |
2.30.0 |
pip install "pydantic-ai-slim>=2.30.0" |
Según OSV / GitHub Advisories (GHSA-q2xc-rrxj-58x9, PYSEC-2026-4279, PYSEC-2026-4288). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pydantic | pydantic_ai | ≥ 1.34.0 < 1.107.5 |
| pydantic | pydantic_ai | ≥ 2.0.0 < 2.30.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