Skip to content

build(deps): bump graphql-core from 3.2.11 to 3.2.12 - #5245

Open
dependabot[bot] wants to merge 4 commits into
developfrom
dependabot/pip/develop/graphql-core-3.2.12
Open

dependabot[bot] wants to merge 4 commits into
developfrom
dependabot/pip/develop/graphql-core-3.2.12

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 5, 2026

Copy link
Copy Markdown
Contributor

Bumps graphql-core from 3.2.11 to 3.2.12.

Release notes

Sourced from graphql-core's releases.

v3.2.12

Patch-release GraphQL-core v3.2.12, based on GraphQL.js v16.14.2.

This patch-release supports Python 3.7 to 3.14.

This is a security release. It fixes two denial-of-service vulnerabilities in the validator and the parser. Upgrading is recommended for all users.

Security fixes:

  • CVE-2026-75507 (GHSA-vj8h-fx38-h3vc, High) — the OverlappingFieldsCanBeMerged validation rule could be driven into quadratic and worse running time by a small, highly compressible query using repeated inline fragments, occupying a worker for minutes of CPU during validation, before any resolver runs. Validation now enforces a per-document comparison budget and aborts with a GraphQLError once it is exhausted.
  • CVE-2026-75508 (GHSA-r77w-qph3-7vf8, High) — comment tokens were allocated and retained but not counted toward the parser's max_tokens limit, so a comment-padded document could bypass the limit while allocating one token object per comment. max_tokens now counts every token the parser consumes, including skipped comments.

Please note the two behaviour changes this implies:

  • A pathological query that previously validated — slowly — now produces a validation error. Realistic queries stay far below the limit, which defaults to 250,000 field comparisons and can be adjusted by assigning to graphql.validation.rules.overlapping_fields_can_be_merged.MAX_FIELD_COMPARISONS.
  • Comments now count toward max_tokens, so a comment-heavy document that was previously accepted may now be rejected. If you parse documents with substantial comments and set max_tokens, you may need to raise the limit. The token_count of a parsed document now includes comments as well.

Both limits complement, but do not replace, a request body-size limit applied to the decompressed request body in your web framework.

Other changes:

  • Updated development dependencies and CI tooling.

The security issues were reported by @​BZHunt, who also reviewed the fixes before release. In memory of ZaX, who was the driving force behind this discovery. The first one was also independently found and diagnosed by @​bcmyguest.

Thanks to @​jkimbo for sponsoring this project.

Commits
  • af6addb Bump version
  • ab7bfbc Fix version bump configuration
  • 80ef435 fix: count comment tokens toward the parser max_tokens limit
  • 29c2753 fix: bound OverlappingFieldsCanBeMerged validation to prevent quadratic DoS
  • 090141f Update dependencies
  • See full diff in compare view

Bumps [graphql-core](https://github.com/graphql-python/graphql-core) from 3.2.11 to 3.2.12.
- [Release notes](https://github.com/graphql-python/graphql-core/releases)
- [Commits](graphql-python/graphql-core@v3.2.11...v3.2.12)

---
updated-dependencies:
- dependency-name: graphql-core
  dependency-version: 3.2.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 5, 2026
Bumps [graphql-core](https://github.com/graphql-python/graphql-core) from 3.2.11 to 3.2.12.
- [Release notes](https://github.com/graphql-python/graphql-core/releases)
- [Commits](graphql-python/graphql-core@v3.2.11...v3.2.12)

---
updated-dependencies:
- dependency-name: graphql-core
  dependency-version: 3.2.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/develop/graphql-core-3.2.12 branch from 03b7412 to bb445d8 Compare September 9, 2026 12:12
…les/importer/develop/graphql-core-3.2.12' into dependabot/pip/develop/graphql-core-3.2.12
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant