llamaCVEVulnerability Intelligence
/
Pydantic AI

CVE-2026-133505

Pydantic AI server-side request forgery in message history reload

An attacker controlling tool output can make the app fetch internal URLs or read private files without logging in.

Parche disponibletype confusion
Descargar PNG JSON
CVSS 3.1
5.9
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -16 d de la divulgación
Exposición1 dDesde la divulgación, 20 nov 2026, 2:34 a. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Sin prisa pero sin pausa, como yo en el páramo.Agenda, parchea y celebra con un mate.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 2.66.0
Monitoreo
Detectada +3
4 nov 26
20 nov 26
21 nov 26
4 nov 26
8 nov 26
13 nov 26
17 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.66.0 pydantic-ai · -16 d desde divulgación
Divulgación Publicada CVE-2026-133505 divulgada · CVSS 5.9 (CNA)
Monitoreo Detectada Ingresó al índice
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

The pydantic-ai and pydantic-ai-slim packages rebuild tool result data that looks like a file as a real file download or provider file reference when saved message history is reloaded. A remote attacker who controls data returned by a tool, such as from an MCP server or an external system, can make the application fetch a URL on its local network, or make the model provider read an s3:// object or uploaded file using the application's credentials, without logging in.

Descripción original del registro (Pydantic)

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.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
pydantic-ai · pydantic-ai-slim≥ 1.50.0 ≤ 1.107.9
pydantic-ai · pydantic-ai-slim≥ 2.0.0b1 ≤ 2.65.0
1.50.0
1.107.9
2.0.0b1
2.65.0
2.68.0
2.71.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipydantic-ai
Corregida 2.66.0 -16 d 2.68.0 no afectada
pypipydantic-ai-slim
Corregida 2.66.0 -16 d 2.71.0 no afectada
Versiones corregidas2.66.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4cj4-hgwf-4hc4
Fabricantehttps://pydantic.dev/docs/ai/ui/overview/#trust-model-for-client-submitted-messages

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.