CVE-2026-107292
Pydantic AI Web chat UI (Agent.to_web(), clai web): the local chat endpoint does not validate the Host header
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.107.5 | pydantic-ai · -55 d desde divulgación | |
| Remediación | Parche 2.30.0 | pydantic-ai · -55 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-107292 divulgada · CVSS 6.4 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypipydantic-ai |
Corregida | 1.107.5, 2.30.0 | -55 d · -55 d | 2.68.0 no afectada |
pypipydantic-ai-slim |
Corregida | 1.107.5, 2.30.0 | -55 d · -55 d | 2.71.0 no afectada |
1.107.52.0.0b12.30.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9https://github.com/pydantic/pydantic-ai/pull/7437https://github.com/pydantic/pydantic-ai/pull/7438https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fehttps://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
