CVE-2026-19869
JSON

7.6high

Privilege Escalation via Dropped Field-Level @authentication

Severity
7.6high CVSS:4.0 by Neo4j
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Neo4j

Description

@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.

Affected

Product or packageVersionsReported by
@neo4j/graphqlfrom 7.0.0 before 7.6.0, from 5.2.0 before 5.12.15, from 6.0.0 up to 6.6.4CVE List

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

@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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-19869 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-19869 changed 2026-10-22Public domain