CVE-2026-133505
CVE-2026-133505 · Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded
CVSS 5.9 · Media · EPSS 0,4%
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- pydantic-aiSin corrección publicada
- pydantic-ai-slimSin corrección publicada
Evalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
When message history is serialized and loaded again, a tool result that contains a JSON object in the serialized shape of one of Pydantic AI's file types is rebuilt as that file. A third party who controls data a tool returns, such as a record that an MCP server or a function tool returns from an external system, can use this to make the application download a URL on its local network, or make the model provider read an s3:// object or uploaded file with the application's credentials. Applications are affected when tool results can contain third-party data, message history containing those results is serialized and loaded again (stored history, history a UI adapter holds on the server, or Temporal, DBOS or Prefect durable execution), and the model is one Pydantic AI downloads files for, one that honors force_download, or one whose provider resolves non-HTTP file URLs or uploaded files. History that a client submits through the Vercel AI or AG-UI adapter in the default mode is not affected. The issue is fixed in pydantic-ai and pydantic-ai-slim 1.107.10 and 2.66.0.
- Publicación
- Actualización
Productos y versiones afectados
pydantic-ai
- Versiones
- ≥ 1.50.0, ≤ 1.107.9: Afectada (python)
Sin corrección publicada
pydantic-ai
- Versiones
- ≥ 2.0.0b1, ≤ 2.65.0: Afectada (python)
Sin corrección publicada
pydantic-ai-slim
- Versiones
- ≥ 1.50.0, ≤ 1.107.9: Afectada (python)
Sin corrección publicada
pydantic-ai-slim
- Versiones
- ≥ 2.0.0b1, ≤ 2.65.0: Afectada (python)
Sin corrección publicada