CVE-2026-63421: Keystone vulnerable to `graphql.maxTake` bypass with negative `take`
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.
Published Aug 21, 2026
Affected packages
@keystone-6/core
- Ecosystem
- npm
- Affected
- <= 6.5.2
- Fixed in
- 6.5.3
- Check
npm ls @keystone-6/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to Haxset.
References
- https://github.com/keystonejs/keystone/security/advisories/GHSA-cqmq-8755-7xvh
- https://github.com/keystonejs/keystone/pull/9859
- https://github.com/keystonejs/keystone/commit/9fb88b246950ce4de754a43fe6416f20403577b1
- https://github.com/keystonejs/keystone/releases/tag/@keystone-6/[email protected]
- https://github.com/advisories/GHSA-cqmq-8755-7xvh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-10802
Keystone: GraphQL API Endpoint Lacks Query Depth Limits
low4.3No fixJun 4, 2026CVE-2026-33326
@keystone-6/core: `isFilterable` bypass via `cursor` parameter in findMany (CVE-2025-46720 incomplete fix)
medium4.3Mar 19, 2026CVE-2025-46720
Keystone has an unintended `isFilterable` bypass that can be used as an oracle to match hidden fields
low3.1May 5, 2025
