llamaCVEVulnerability Intelligence
/
Advisory · GitHub · crates.io · apollo-router

GHSA-M5Q4-Q9RR-M3VR

Apollo Router Demand Control Vulnerable to Cost-Limit Bypass via Negative and Oversized List Sizes

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición122 dDesde la divulgación, 21 jul 2026, 4:28 p. m.
Detección119 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, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Las PoC crecen rápido, como las llamas bebé.No corre prisa, pero no la pierdas de vista.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2.10.5 +1
Monitoreo
Detectada +1
21 jul 26
28 sept 26
18 nov 26
21 nov 26
21 jul 26
21 ago 26
21 sept 26
21 oct 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-M5Q4-Q9RR-M3VR divulgada · CVSS 7.5 (GitHub)
Remediación Parche 2.10.5 apollo-router · 0 d desde divulgación
Remediación Parche 2.16.1 apollo-router · 0 d desde divulgación
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Impact

Summary

A vulnerability in Apollo Router allowed certain operations to bypass configured demand control cost limits. A client-supplied `@listSize` slicing argument provided as a negative value — and, separately, a configured list size exceeding the signed 32-bit integer range — could drive an operation's estimated cost negative, letting operations that should exceed a configured maximum cost pass enforcement.

Details

Demand control estimates an operation's cost before execution and, in enforce mode, rejects operations whose estimated cost exceeds a configured maximum. The `@listSize` directive's slicing arguments (for example `first`) are read from the client's operation to size list fields when estimating cost.

Negative slicing values were used unchanged, producing a negative contribution to the estimate. Because the costs of sibling fields are summed, a negative-sized selection could offset the cost of an otherwise-expensive operation and bring the total estimate below the configured maximum, while the expensive portion of the operation still executed. Separately, a configured `list_size` above the signed 32-bit integer range could wrap to a negative value with the same effect.

Who Is Impacted

Operators using Apollo Router demand control in enforce mode. Demand control is opt-in; operators who have not enabled it are not affected.

Fix

List sizes are now bounded to non-negative values before cost is computed: negative slicing arguments are clamped to zero, and configured list sizes use a saturating conversion. An operation's estimated cost can no longer be driven below zero.

Patches

This has been remediated in `apollo-router` versions 2.10.5 and 2.16.1.

Workarounds

Demand control is opt-in, so operators who have not enabled it are not affected. There is no configuration-based workaround for operators relying on demand control; affected operators should upgrade to a patched version.

Acknowledgements

We appreciate the efforts of the security community in identifying and improving the security of Apollo Router's demand control mechanisms.

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:N
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
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
apollo-router≥ 2.0.0 < 2.10.5
apollo-router≥ 2.11.0 < 2.16.1
2.0.0
2.10.5
2.11.0
2.16.1
2.19.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.ioapollo-router
Corregida 2.10.5, 2.16.1 0 d · 0 d 2.19.0 no afectada
Versiones corregidas2.10.52.16.1
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/apollographql/router/security/advisories/GHSA-m5q4-q9rr-m3vr

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