Description
GraphQL-core is a Python port of the GraphQL.js reference implementation. From 3.3.0a3 until 3.3.1, validate() reuses a module-level ValidationAbortedError when a document exceeds max_errors. Python appends frames to the reused exception's traceback on every raise, retaining each document, validation context, and error set for the process lifetime. An unauthenticated client can repeatedly submit a small document with more than 100 validation errors to cause unbounded memory growth before query execution, eventually exhausting worker memory without disclosing or modifying data. This issue is fixed in version 3.3.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| graphql-python | graphql-core | >= 3.3.0a3, < 3.3.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | graphql-core | No fix yet | — |
| Ubuntu 26.04 LTS | graphql-core | No fix yet | — |
| Ubuntu 24.04 LTS | graphql-core | No fix yet | — |
| Ubuntu 22.04 LTS | graphql-core | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-graphql-core | 3.3.1-1.1 | openSUSE-SU-2026:12474-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | graphql-core | >= 3.3.0a3, < 3.3.1 | 3.3.1 | GHSA-mpqx-q82w-9x46 |
Advisories 1
- openSUSE-SU-2026:12474-1 python313-graphql-core-3.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026
References
- https://github.com/graphql-python/graphql-core/security/advisories/GHSA-mpqx-q82w-9x46
- https://github.com/graphql-python/graphql-core/issues/287
- https://github.com/graphql-python/graphql-core/pull/288
- https://github.com/graphql-python/graphql-core/commit/3c319fd9f4b8f6c9db4189520561bf8dd0e70be9
- https://github.com/graphql-python/graphql-core/releases/tag/v3.3.1