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

GHSA-484X-X9M4-62CJ

Decision models expand tool argument schemas without a limit

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:N/I:N/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día 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.
Sin prisa pero sin pausa, como yo en el páramo.Calma, café y gestión de vulnerabilidades.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 2.66.0
Monitoreo
Detectada +1
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
Divulgación Publicada GHSA-484X-X9M4-62CJ divulgada · CVSS 6.5 (GitHub)
Remediación Parche 2.66.0 pydantic-ai · 0 d desde divulgación
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

Decision models (`DecisionModel` subclasses such as `OpenAIDecisionsModel`, and `TypeSafeModel`) turn a tool's argument schema into individual questions, resolving every `$ref` again at each place it appears. A small schema whose definitions reference one another repeatedly makes this take exponential time and memory on the event loop. Tools whose schemas come from a client, such as AG-UI frontend tools, reach this code.

Details

This affects applications that use a decision model with tools whose schemas an attacker can supply, most directly an AG-UI endpoint, where the client submits its frontend tools' schemas. From 2.50.0, every request expands the schema of every offered tool. From 2.46.0 through 2.49.x, only `TypeSafeModel` did, and only for the tool the model selected.

One crafted schema can block the event loop for minutes and exhaust process memory, delaying other work in the same process.

The assumed attacker is an authenticated client of the AG-UI endpoint; the UI documentation requires running the adapter behind application authentication.

Mitigation

Upgrade to a patched version. Until then, drop or limit client-submitted tools before passing the run input to the adapter, for example by rejecting tool schemas that contain `$defs`.

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:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
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.46.0 ≤ 2.65.0
2.46.0
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 0 d 2.68.0 no afectada
pypipydantic-ai-slim
Corregida 2.66.0 0 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
Advisoryhttps://github.com/pydantic/pydantic-ai/security/advisories/GHSA-484x-x9m4-62cj

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