GHSA-cqmq-8755-7xvh

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqmq-8755-7xvh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-cqmq-8755-7xvh/GHSA-cqmq-8755-7xvh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqmq-8755-7xvh
Aliases
Published
2026-08-21T20:55:11Z
Modified
2026-08-21T21:10:59Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-20",
        "CWE-480"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-21T20:55:11Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / @keystone-6/core

Package

Name
@keystone-6/core
View open source insights on deps.dev
Purl
pkg:npm/%40keystone-6/core

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.5.3

Database specific

last_known_affected_version_range
"<= 6.5.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-cqmq-8755-7xvh/GHSA-cqmq-8755-7xvh.json"