CVE-2026-19869: CWE-639 Authorization bypass through User-Controlled key in neo4j graphql
CVE-2026-19869 is an authorization bypass vulnerability in the neo4j/graphql library affecting versions 5.2.0 through 5.12.14, 6.0.0 through 6.6.4, and 7.0.0 through 7.5.9. The flaw occurs when both type-level and field-level @authentication rules are defined on the same operation type; only the type-level rule is enforced, causing stricter field-level rules to be ignored. This allows users with a valid token meeting the broader type-level requirements but lacking stricter field-level permissions (e.g., admin role) to access restricted fields. No token forgery is involved, but legitimate non-admin tokens can bypass intended restrictions. The vulnerability has a CVSS 4.0 score of 7.6 (high severity).
AI Analysis
Technical Summary
The neo4j/graphql library versions 5.2.0 to before 5.12.15, 6.0.0 to 6.6.4, and 7.0.0 to before 7.6.0 contain an authorization bypass (CWE-639) due to improper enforcement of field-level @authentication rules when a type-level @authentication rule is also present on the same operation type (Query or Mutation). In such cases, only the type-level authentication is evaluated, and the field-level authentication is silently ignored. This means stricter per-field access controls, such as requiring an admin role claim in JWT tokens, are not enforced, allowing users with tokens that satisfy only the type-level rule to access more restricted fields. The vulnerability does not involve token forgery but exploits the logic flaw in access control evaluation.
Potential Impact
An attacker with a legitimately issued JWT token that satisfies the broader type-level authentication (e.g., roles: ["user"]) can access root custom-resolver fields that require stricter field-level authentication (e.g., admin role). This bypasses intended authorization controls, potentially exposing sensitive data or operations restricted to higher privilege roles. The vulnerability affects confidentiality and integrity of access control within affected neo4j/graphql versions.
Mitigation Recommendations
No explicit patch links or vendor advisory content are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, users should review their use of combined type-level and field-level @authentication rules and avoid relying solely on field-level restrictions when type-level rules are present. Consider applying additional access control checks outside of the library or restricting access at other layers as a temporary mitigation.
CVE-2026-19869: CWE-639 Authorization bypass through User-Controlled key in neo4j graphql
Description
CVE-2026-19869 is an authorization bypass vulnerability in the neo4j/graphql library affecting versions 5.2.0 through 5.12.14, 6.0.0 through 6.6.4, and 7.0.0 through 7.5.9. The flaw occurs when both type-level and field-level @authentication rules are defined on the same operation type; only the type-level rule is enforced, causing stricter field-level rules to be ignored. This allows users with a valid token meeting the broader type-level requirements but lacking stricter field-level permissions (e.g., admin role) to access restricted fields. No token forgery is involved, but legitimate non-admin tokens can bypass intended restrictions. The vulnerability has a CVSS 4.0 score of 7.6 (high severity).
CVSS v4.0
Score 7.6high
Affected software
neo4j
graphql
pkg:npm/@neo4j/graphqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The neo4j/graphql library versions 5.2.0 to before 5.12.15, 6.0.0 to 6.6.4, and 7.0.0 to before 7.6.0 contain an authorization bypass (CWE-639) due to improper enforcement of field-level @authentication rules when a type-level @authentication rule is also present on the same operation type (Query or Mutation). In such cases, only the type-level authentication is evaluated, and the field-level authentication is silently ignored. This means stricter per-field access controls, such as requiring an admin role claim in JWT tokens, are not enforced, allowing users with tokens that satisfy only the type-level rule to access more restricted fields. The vulnerability does not involve token forgery but exploits the logic flaw in access control evaluation.
Potential Impact
An attacker with a legitimately issued JWT token that satisfies the broader type-level authentication (e.g., roles: ["user"]) can access root custom-resolver fields that require stricter field-level authentication (e.g., admin role). This bypasses intended authorization controls, potentially exposing sensitive data or operations restricted to higher privilege roles. The vulnerability affects confidentiality and integrity of access control within affected neo4j/graphql versions.
Mitigation Recommendations
No explicit patch links or vendor advisory content are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, users should review their use of combined type-level and field-level @authentication rules and avoid relying solely on field-level restrictions when type-level rules are present. Consider applying additional access control checks outside of the library or restricting access at other layers as a temporary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Neo4j
- Date Reserved
- 2026-08-14T11:22:26.042Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a848e59c6e8be03327e6acd
Added to database: 08/18/2026, 16:54:49 UTC
Last enriched: 09/11/2026, 21:18:39 UTC
Last updated: 10/02/2026, 02:46:03 UTC
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.