llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · pydantic-ai

GHSA-MGMV-R532-PG36

A credential in an MCP server URL path could reach chat frontends through MCP Apps events

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
6.5
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -12 d de la divulgación
Exposición17 dDesde la divulgación, 4 nov 2026, 6:51 a. m.
Detección15 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Un riesgo moderado es un riesgo con modales.Hoy toca orden, no heroísmo.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 2.60.0
Monitoreo
Detectada +1
23 oct 26
4 nov 26
20 nov 26
21 nov 26
23 oct 26
30 oct 26
7 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.60.0 pydantic-ai · -12 d desde divulgación
Divulgación Publicada GHSA-MGMV-R532-PG36 divulgada · CVSS 6.5 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

An `MCP` capability configured with a server URL and no explicit `id` derived its identifier from the URL's hostname and last path segment. The AG-UI and Vercel AI adapters send that identifier to the frontend with MCP Apps tool results, so a credential in the URL's last path segment could reach users of the application's chat frontend.

Details

You are affected if all of the following hold:

  • You use the `MCP` capability with a server `url=`, run the server locally (the default on v2), and pass no `id=`.
  • The server URL carries a credential in its last path segment.
  • The server exposes MCP Apps tools, and you stream runs to a frontend with `AGUIAdapter` or `VercelAIAdapter`.

When the model calls an MCP Apps tool, the adapter's MCP Apps event carries the derived identifier as its server identifier. The same value is kept in message history dumped by those adapters. The assumed attacker is an authenticated user of the application's chat frontend, who can read their own event stream and can ask the agent to use the server's tools. That user obtains the application's credential for the MCP server.

An `MCPToolset` passed directly, and an `MCP` capability with an explicit `id=`, are not affected. GHSA-xv4x-g8mx-ch56 covered the same identifier in traces; the frontend channel remained exposed until 2.60.0, so upgrading to 2.58.0 or 2.59.0 did not address it. The v1 line does not forward MCP Apps results and is not affected.

Mitigation

Upgrade `pydantic-ai` and `pydantic-ai-slim` to 2.60.0 or later, where the derived identifier is the hostname only. Rotate MCP server credentials that were carried in the URL path, since they may have been streamed to frontend users or stored in dumped message history.

Upgrading changes the derived `id` of such a capability, which also names its durable operations (Temporal activities, DBOS steps, Prefect tasks). If you run one under durable execution, let in-flight workflows complete before upgrading.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
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
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
pydantic-ai · pydantic-ai-slim≥ 2.57.0 < 2.60.0
2.57.0
2.60.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.60.0 -12 d 2.68.0 no afectada
pypipydantic-ai-slim
Corregida 2.60.0 -12 d 2.71.0 no afectada
Versiones corregidas2.60.0
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/pydantic/pydantic-ai/security/advisories/GHSA-mgmv-r532-pg36

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