CVE-2026-5423: CWE-302 Authentication bypass by Assumed-Immutable data in neo4j graphql
@neo4j/graphql library versions prior to 7.5.6 fail to verify the authenticity of a client-supplied, pre-decoded JWT object passed through GraphQL subscription connectionParams. As a result, any unauthenticated remote client that can open a GraphQL-over-WebSocket connection can forge arbitrary JWT claims (e.g. sub, roles) in connectionParams.jwt and have them accepted as authenticated identity for the purposes of @authentication and @subscriptionsAuthorization directive evaluation. This allows a fully unauthenticated attacker to receive subscription events that should be restricted to specific authenticated roles/users. Upgrade the library to versions 7.5.6+ or 5.12.14+. v6 is end-of-life and will not receive a fix.
AI Analysis
Technical Summary
The @neo4j/graphql library before versions 7.5.6 and 5.12.14 fails to verify the authenticity of client-supplied, pre-decoded JWT objects passed via GraphQL subscription connectionParams. This allows unauthenticated remote clients who can open GraphQL-over-WebSocket connections to forge arbitrary JWT claims such as 'sub' and 'roles'. These forged claims are accepted as authenticated identities during @authentication and @subscriptionsAuthorization directive evaluations, resulting in unauthorized access to subscription events restricted to certain authenticated roles or users. Version 6.x is end-of-life and will not receive a fix.
Potential Impact
An unauthenticated attacker can bypass authentication by forging JWT claims in subscription connection parameters, gaining unauthorized access to subscription events that should be restricted to authenticated users with specific roles. This compromises confidentiality of subscription data and undermines access control mechanisms in affected versions of the @neo4j/graphql library.
Mitigation Recommendations
Upgrade the @neo4j/graphql library to version 7.5.6 or later, or 5.12.14 or later. Versions 6.x are end-of-life and will not receive a fix, so migration to a supported version is necessary. Patch status is not explicitly stated but upgrading to these versions addresses the vulnerability.
CVE-2026-5423: CWE-302 Authentication bypass by Assumed-Immutable data in neo4j graphql
Description
@neo4j/graphql library versions prior to 7.5.6 fail to verify the authenticity of a client-supplied, pre-decoded JWT object passed through GraphQL subscription connectionParams. As a result, any unauthenticated remote client that can open a GraphQL-over-WebSocket connection can forge arbitrary JWT claims (e.g. sub, roles) in connectionParams.jwt and have them accepted as authenticated identity for the purposes of @authentication and @subscriptionsAuthorization directive evaluation. This allows a fully unauthenticated attacker to receive subscription events that should be restricted to specific authenticated roles/users. Upgrade the library to versions 7.5.6+ or 5.12.14+. v6 is end-of-life and will not receive a fix.
CVSS v4.0
Score 8.2high
Affected software
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 before versions 7.5.6 and 5.12.14 fails to verify the authenticity of client-supplied, pre-decoded JWT objects passed via GraphQL subscription connectionParams. This allows unauthenticated remote clients who can open GraphQL-over-WebSocket connections to forge arbitrary JWT claims such as 'sub' and 'roles'. These forged claims are accepted as authenticated identities during @authentication and @subscriptionsAuthorization directive evaluations, resulting in unauthorized access to subscription events restricted to certain authenticated roles or users. Version 6.x is end-of-life and will not receive a fix.
Potential Impact
An unauthenticated attacker can bypass authentication by forging JWT claims in subscription connection parameters, gaining unauthorized access to subscription events that should be restricted to authenticated users with specific roles. This compromises confidentiality of subscription data and undermines access control mechanisms in affected versions of the @neo4j/graphql library.
Mitigation Recommendations
Upgrade the @neo4j/graphql library to version 7.5.6 or later, or 5.12.14 or later. Versions 6.x are end-of-life and will not receive a fix, so migration to a supported version is necessary. Patch status is not explicitly stated but upgrading to these versions addresses the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Neo4j
- Date Reserved
- 2026-04-02T13:17:29.975Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a74ab41bf8831d539ec74d5
Added to database: 08/06/2026, 15:41:53 UTC
Last enriched: 08/06/2026, 15:56:40 UTC
Last updated: 08/07/2026, 02:38:58 UTC
Views: 10
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.