GitHub Advisoryadvisory · npm

GHSA-cqmq-8755-7xvh Keystone vulnerable to `graphql.maxTake` bypass with negative `take`

HIGH Published 2026-08-21 Modified 2026-08-21 Official page ↗
Aliases
CVE-2026-63421
Ecosystem
npm
Packages
@keystone-6/core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-20, CWE-480
Reviewed
2026-08-21

Affected packages

• npm @keystone-6/core: < 6.5.3 → fixed in 6.5.3

Description

Summary The value of `graphql.maxTake` can be bypassed by providing a negative input. This can be used to exceed the developer's intended `graphql.maxTake` value, allowing queries to return results in excess of the `graphql.maxTake` value set. Impact This affects any project relying on `graphql.maxTake` to bound the number of items returned per query. Patches This issue has been patched in `@keystone-6/core` version `6.5.3`. If you cannot patch, you can workaround this by restricting `take` input values in your GraphQL queries to the bounded value, or by blocking negative values. Credit This issue was found by Haxset's Security Scanner and validated by their team.

Related

Alias · CVE (1)

  • CVE-2026-63421 Keystone is a content management system for Node.js. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-480 Use of Incorrect Operator weakness

References