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

GHSA-GR6H-4WPF-XP52

Stack overflow (DoS) in query planner via duplicate `@defer` labels

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.
Seguimiento de cerca: yo sé de mirar de cerca.Saqué la lupa: aquí hay algo que investigar.
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-GR6H-4WPF-XP52 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
This is a denial-of-service vulnerability. It does not permit unauthorized access to data, does not allow modification of data, and does not permit code execution.

When an operation contains two nested `@defer` inline fragments sharing an identical `label` value, the query planner enters unbounded recursion, resulting in a stack overflow and abnormal termination of the affected process.

Any party capable of submitting a GraphQL operation to a supergraph served by an affected version of Apollo Router with `@defer` enabled (`enable_defer`, which is enabled by default) may be able to trigger this condition. No privileges beyond the ability to submit GraphQL operations to the endpoint are required. If the endpoint permits unauthenticated access, the condition can be triggered without authentication. The result is termination of the Router process handling the request, which may disrupt service availability for that instance until it is restarted or otherwise recovers, consistent with the affected deployment's fault-tolerance configuration.

No evidence of exploitation in the wild is known to Apollo at the time of publication. This advisory is issued as a precautionary disclosure following internal discovery.

Patches

This vulnerability has been patched in two release lines of Apollo Router:
- v2.16.1 and later (latest release line and current LTS)
- v2.10.5 and later, for users on the v2.10 LTS release line, for which the end of support is September 2026

Users on Router versions between v2.10 and v2.16 — specifically v2.11 through v2.15 — are not covered by a patch release and remain affected. Apollo recommends that users on any affected version either upgrade to v2.16.1+ or move to the v2.10 LTS line at v2.10.5+, whichever is more practical for their environment. Apollo recommends that all users of affected versions upgrade at their earliest opportunity.

### Workarounds
Users who are unable to upgrade immediately may mitigate this vulnerability by disabling `@defer` support entirely. In the router's YAML configuration, under the `supergraph` key:

supergraph:
  defer_support: false

More information is available https://www.apollographql.com/docs/graphos/routing/operations/defer#disabling-defer.

This configuration change disables all `@defer`-based incremental delivery functionality, including legitimate use, and should be treated as an interim measure pending upgrade rather than a permanent remediation.

### References
- Apollo Router `@defer` directive support documentation: https://www.apollographql.com/docs/graphos/routing/operations/defer

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

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≥ 1.8.0 < 2.10.5
apollo-router≥ 2.11.0 < 2.16.1
1.8.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-gr6h-4wpf-xp52

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