Advisory

GHSA-cqmq-8755-7xvh

Also known as: CVE-2026-63421

Summary

Keystone vulnerable to graphql.maxTake bypass with negative take

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-08-21 20:55 UTC
Modified
2026-08-21 21:10 UTC

Affected packages and fixes

@keystone-6/core

npm · All systems

Affected

  • introduced 0, fixed 6.5.3 (semver)

Fixed versions

6.5.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences