{"id":"CVE-2026-63421","aliases":["CVE-2026-63421","GHSA-cqmq-8755-7xvh"],"related":[],"kind":"vulnerability","state":"published","title":"Keystone: `graphql.maxTake` bypass with negative `take`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"# Summary\nThe value of `graphql.maxTake` can be bypassed by providing a negative input.\nThis 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.\n\n# Impact\nThis affects any project relying on `graphql.maxTake` to bound the number of items returned per query.\n\n# Patches\nThis issue has been patched in `@keystone-6/core` version `6.5.3`.\n\nIf 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.\n\n# Credit\nThis issue was found by [Haxset's](https://haxset.com) Security Scanner and validated by their team.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Keystone es un sistema de gestión de contenidos para Node.js. Antes de la versión 6.5.3, el resolvedor findMany en packages/core/src/lib/core/queries/resolvers.ts compara el argumento 'take' con signo directamente con graphql.maxTake, permitiendo que un cliente GraphQL remoto no autenticado proporcione un valor 'take' negativo cuya magnitud excede el límite configurado. La omisión también se aplica a las consultas de relaciones y puede devolver más registros de los que el desarrollador pretendía, agotando potencialmente los recursos del servicio. Este problema se solucionó en la versión 6.5.3.","source":"nvd"}],"published":"2026-08-21T20:15:16.459Z","modified":"2026-10-12T16:10:00.220Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-480"],"affected":[{"ranges":[{"version":"< 6.5.3","status":"affected"}],"vendor":"keystonejs","product":"keystone","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.5.3"}],"ecosystem":"npm","package":"@keystone-6/core","purl":"pkg:npm/%40keystone-6/core","source":"ghsa"}],"references":[{"url":"https://github.com/keystonejs/keystone/security/advisories/GHSA-cqmq-8755-7xvh","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keystonejs/keystone/pull/9859","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keystonejs/keystone/commit/9fb88b246950ce4de754a43fe6416f20403577b1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keystonejs/keystone/releases/tag/@keystone-6/core@6.5.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keystonejs/keystone","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-26T17:39:02.487Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63421","url":"https://www.cve.org/CVERecord?id=CVE-2026-63421","licence":"CVE Terms of Use","modified":"2026-08-26T17:39:12.659Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cqmq-8755-7xvh","url":"https://github.com/advisories/GHSA-cqmq-8755-7xvh","licence":"CC-BY-4.0","modified":"2026-08-21T21:10:59.624Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63421","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63421","licence":"Public domain","modified":"2026-10-12T16:10:00.220Z"}],"updatedAt":"2026-11-25T22:59:34.830Z","epss":{"score":0.00469,"percentile":0.42209,"date":"2026-12-01T12:00:22.000Z"}}