Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. graphql-core
  4. ›
  5. CVE-2026-75508

CVE-2026-75508: GraphQL-core: Denial of service via comment tokens bypassing the parser's max_tokens limit

October 22, 2026

The parser’s max_tokens limit — the documented defence against oversized GraphQL documents — did not count comment tokens. A document padded with comments could therefore pass a max_tokens check of any size while still allocating one Token object per comment, all of which stay reachable for the lifetime of the parsed document. A 38 MB comment-padded payload allocated roughly 92 MB of additional resident memory with max_tokens=5 in force.

References

  • github.com/advisories/GHSA-r77w-qph3-7vf8
  • github.com/graphql-python/graphql-core/commit/437dea102e92fdf05a2971ca76787c5a5bad875a
  • github.com/graphql-python/graphql-core/commit/80ef435a1808fbbcc4aaac63ae76771a1c91002d
  • github.com/graphql-python/graphql-core/releases/tag/v3.2.12
  • github.com/graphql-python/graphql-core/releases/tag/v3.3.0rc1
  • github.com/graphql-python/graphql-core/security/advisories/GHSA-r77w-qph3-7vf8
  • nvd.nist.gov/vuln/detail/CVE-2026-75508

Code Behaviors & Features

Detect and mitigate CVE-2026-75508 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.2.3 before 3.2.12, all versions starting from 3.3.0-a.3 before 3.3.0-rc.1

Fixed versions

  • 3.2.12
  • 3.3.0-rc.1

Solution

Upgrade to versions 3.2.12, 3.3.0-rc.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/graphql-core/CVE-2026-75508.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:37 +0000.