Amenazas en vivo

Todas las CVE / Pydantic

CVE-2026-107292Pydantic Ai

Media 6.4 Sin autenticación

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
Debilidad (CWE)
CWE-346, CWE-350
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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Pydantic Ai.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
pydanticpydantic_ai≥ 1.34.0 < 1.107.5
pydanticpydantic_ai≥ 2.0.0 < 2.30.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.