{"id":"CVE-2026-63421","published":"2026-08-21T20:15:16Z","modified":"2026-08-26T17:39:12Z","title":"Keystone: `graphql.maxTake` bypass with negative `take`","vendor":"keystonejs","product":"keystone","tier":"tail","description":{"text":"Keystone is a content management system for Node.js. Prior to 6.5.3, the findMany resolver in packages/core/src/lib/core/queries/resolvers.ts compares the signed take argument directly with graphql.maxTake, allowing a remote unauthenticated GraphQL client to provide a negative take value whose magnitude exceeds the configured bound. The bypass also applies to relationship queries and can return more records than the developer intended, potentially exhausting service resources. This issue is fixed in version 6.5.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0067,"percentile":0.52925,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-480","name":"Use of Incorrect Operator"}],"references":[{"url":"https://github.com/keystonejs/keystone/security/advisories/GHSA-cqmq-8755-7xvh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/keystonejs/keystone/pull/9859","tags":["x_refsource_MISC"]},{"url":"https://github.com/keystonejs/keystone/commit/9fb88b246950ce4de754a43fe6416f20403577b1","tags":["x_refsource_MISC"]},{"url":"https://github.com/keystonejs/keystone/releases/tag/@keystone-6/core@6.5.3","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.59},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"keystonejs","affectedVersions":[{"vendor":"keystonejs","product":"keystone","versions":["< 6.5.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-26T17:39:02.487794Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@keystone-6/core","vulnerableRanges":["<6.5.3"],"patched":["6.5.3"],"from":["GHSA-cqmq-8755-7xvh"],"provenance":"source"}],"summary":{"text":"The flaw is in the findMany resolver of Keystone, a Node.js content management system, in its GraphQL queries code (packages/core/src/lib/core/queries/resolvers.ts), where the signed take argument is compared directly against the configured graphql.maxTake limit without accounting for negative values. An unauthenticated remote client that can reach the GraphQL endpoint can send a negative take whose magnitude exceeds that limit, which also works through relationship queries and can return more records than intended, potentially exhausting service resources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:16Z"},"euvd":{"id":"EUVD-2026-64134","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-40027","published":"2023-08-15","fixed":"5.5.1","kev":false},{"cve":"CVE-2025-46720","published":"2025-05-05","fixed":"6.5.0","kev":false},{"cve":"CVE-2026-33326","published":"2026-03-24","fixed":"6.5.2","kev":false,"link":{"from":"CVE-2026-33326","to":"CVE-2026-63421","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@keystone-6/core","fromFixed":"6.5.2","toFixed":"6.5.3","daysApart":150}]}},{"cve":"CVE-2026-63421","published":"2026-08-21","fixed":"6.5.3","kev":false}],"package":"npm:@keystone-6/core"}}