CVE-2026-5423 Subscription Authentication Bypass via Unverified connectionParams.jwt
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| neo4j @neo4j/graphql(npm) | >= 5.0.0, < 5.12.14; >= 6.0.0, <= 6.6.4; >= 7.0.0, < 7.5.6 | 5.12.14, 7.5.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| neo4j @neo4j/graphql(npm) | >= 7.0.0, < 7.5.6 | 7.5.6 |
| neo4j @neo4j/graphql(npm) | >= 5.0.0, < 5.12.14 | 5.12.14 |
| neo4j @neo4j/graphql(npm) | >= 6.0.0, <= 6.6.4 | No fix listed |
References
- neo4j.com vendor-advisory
- github.com third-party-advisory