CVE-2026-107295
pydantic-ai-slim web UI /api/chat accepts browser-simple cross-origin requests that can trigger agent tool execution
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/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.4 | pydantic-ai · -57 d desde divulgación | |
| Remediación | Parche 2.28.0 | pydantic-ai · -57 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-107295 divulgada · CVSS 7.6 (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 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.
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.4, 2.28.0 | -57 d · -57 d | 2.68.0 no afectada |
pypipydantic-ai-slim |
Corregida | 1.107.4, 2.28.0 | -57 d · -57 d | 2.71.0 no afectada |
1.107.42.28.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-h4xc-3qfq-jf93https://github.com/pydantic/pydantic-ai/pull/7382https://github.com/pydantic/pydantic-ai/pull/7383https://github.com/pydantic/pydantic-ai/commit/d2690201a1834005d382dbf5c47e0ed94ef8bf46https://github.com/pydantic/pydantic-ai/commit/dd2abbdfa029c9ad138e7cc0edd2eaeaf9ed69c0https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.4https://github.com/pydantic/pydantic-ai/releases/tag/v2.28.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
