Neo4j @neo4j/graphql
Aggregation queries can bypass authentication restrictions in @neo4j/graphql
Missing Authentication for Critical Function in aggregation queries in Neo4j @neo4j/graphql 5.0.0 before 5.12.17 and 7.0.0 before 7.6.8 allows remote attackers to read protected data via GraphQL aggregation queries. Field-level @authentication is not enforced on string aggregates, which can return stored values verbatim, and connection-root aggregates bypass an entity's AGGREGATE authentication requirement, allowing unauthenticated callers to obtain aggregate results.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0, < 5.12.17
- >= 7.0.0, < 7.6.8
Fixed in 5.12.17, 7.6.8
Mitigation
Upgrade @neo4j/graphql to 7.6.8 (latest) or 5.12.17 (LTS).
Workaround
Restrict access to aggregate queries over protected data until the upgrade is applied.
References
- Vendor advisory github.com/neo4j/graphql/security/advisories/G…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.