CVE-2026-119286

GraphQL-core: Denial of service via memory leak in aborted validations

Published Oct 29, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw arises because validate() reuses a single ValidationAbortedError object when a document exceeds the allowed error count. Each raise appends a new frame to the exception’s traceback, preserving the entire document, validation context, and error list for the lifetime of the process. An attacker who can submit requests to the GraphQL server can repeatedly send small documents that generate over 100 validation errors. This causes unbounded memory allocation until the worker process runs out of RAM, halting query execution and ultimately causing a denial of service. The vulnerability does not disclose or modify data; its effect is limited to exhausting memory resources.

Affected Systems

The vulnerability exists in the graphql‑python:graphql‑core library in releases from 3.3.0a3 up to but not including 3.3.1. Systems that depend on these versions of the GraphQL‑core Python package are affected. All deployments that use Python GraphQL servers which import or call validate() with documents that can exceed the error threshold are at risk.

Risk and Exploitability

The CVSS score of 7.5 reflects a moderate to high severity, and the EPSS score of 0.00421 (~0.42%) indicates a very low probability of exploitation. The issue is not listed in the CISA KEV catalog, suggesting no widespread, publicly disclosed exploitation is reported yet. The attack vector is inferred to be remote, as any client that can reach the GraphQL endpoint can craft and submit the malicious documents. No authentication is required, so the vulnerability can be triggered by public users. Once the memory usage grows beyond a critical threshold, the worker process may crash or become unresponsive, leading to service disruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade graphql-core to version 3.3.1 or later.
  • If an upgrade is not possible, configure the library to reduce the maximum number of allowable validation errors (e.g., set the max_errors parameter to a lower value) to limit the size of the traceback stored.
  • Add rate limiting or request throttling on the GraphQL endpoint to prevent repeated document submissions that could trigger the memory leak.

Generated by OpenCVE AI on October 30, 2026 at 14:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mpqx-q82w-9x46 GraphQL-core has denial of service via memory leak in aborted validations
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Graphql-python
Graphql-python graphql-core
Vendors & Products Graphql-python
Graphql-python graphql-core
Type Values Removed Values Added
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.
Title GraphQL-core: Denial of service via memory leak in aborted validations
Weaknesses CWE-400
CWE-401
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 3:58 PM
Reserved
Oct 29, 2026, 6:50 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 10:17 PM
Modified
Oct 30, 2026, 7:37 PM
Severity
Important
Public date
Oct 29, 2026, 9:38 PM