PyPI
CVE-2026-119286
GraphQL-core has denial of service via memory leak in aborted validations
- Severity
- High 7.5
- Published
- 30 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.3.1
- Exploit chance
- 0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-mpqx-q82w-9x46
- Sources
- OSV.dev and GitHub
Description
When a validation was aborted because the document contained more errors than allowed by max_errors (100 by default), validate() raised a single module-level ValidationAbortedError instance. Python appends the frames of every raise to the existing traceback of an exception that is raised again, so every aborted validation extended the traceback of this shared error. That traceback kept the frames, and with them the document, the validation context and all errors of every aborted validation, alive for the lifetime of the process.
Any client can trigger an aborted validation by sending a small document with more than 100 validation errors, e.g. 101 unknown fields. No authentication is required, and since validation runs before execution, depth limiters and complexity analyzers do not prevent it. Each such request permanently retained about 124 KiB on CPython 3.12, without an upper limit, so memory grew with every request until the process was restarted or killed.
Workarounds
If you cannot upgrade, clear the traceback of the shared error after each validation:
Pass this function instead of the original validate where your framework allows it.
Affected software
| Software | Affected versions |
|---|---|
graphql-corePyPI · osv:PyPI:graphql-core |
|
About graphql-core
- Weekly downloads (PyPI)
- 20,066,012PyPI Stats, 23 Nov 2026
Vulnerabilities in graphql-core
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-134795graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2 Denial of Service via Parser max_tokens Comment RunsMedium 6.9 22 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119286
- GitHub Advisory Database https://github.com/advisories/GHSA-mpqx-q82w-9x46