CVE-2026-19869

@neo4j/graphql from 5.2.0 until the patched versions fails to enforce field-level @authentication rules on root custom-resolver fields when a type-level @authentication rule is also present on the same operation type. When both a type-level @authentication (on Query/Mutation) and a field-level @authentication (on a root custom-resolver field within that type) are declared, only the type-level rule is evaluated and the field-level rule is silently discarded. As a result a stricter per-field requirement — such as an admin-role JWT claim (jwt: { roles_INCLUDES: "admin" }) — is never checked, and any client that satisfies the coarser type-level requirement can invoke the more-restricted field. No token forgery is involved: a legitimately issued, correctly signed non-admin token (e.g. roles: ["user"]) is sufficient.
CVSS

No CVSS.

Configurations

No configuration.

History

22 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) @neo4j/graphql desde la versión 5.2.0 hasta las versiones parcheadas no aplica las reglas de @autenticación a nivel de campo en los campos de resolvedor personalizado raíz cuando una regla de @autenticación a nivel de tipo también está presente en el mismo tipo de operación. Cuando se declaran tanto una @autenticación a nivel de tipo (en Query/Mutation) como una @autenticación a nivel de campo (en un campo de resolvedor personalizado raíz dentro de ese tipo), solo se evalúa la regla a nivel de tipo y la regla a nivel de campo se descarta silenciosamente. Como resultado, un requisito más estricto por campo - como una declaración JWT de rol de administrador (jwt: { roles_INCLUDES: ’admin’ }) - nunca se verifica, y cualquier cliente que satisfaga el requisito más general a nivel de tipo puede invocar el campo más restringido. No hay falsificación de tokens involucrada: un token no-administrador emitido legítimamente y correctamente firmado (p. ej., roles: [’user’]) es suficiente.

Information

Published : 2026-08-18 17:16

Updated : 2026-10-22 22:10


NVD link : CVE-2026-19869

Mitre link : CVE-2026-19869

CVE.ORG link : CVE-2026-19869


JSON object : View

Products Affected

No product.

CWE
CWE-639

Authorization Bypass Through User-Controlled Key