CVE-2026-35526
Published:April 07, 2026
Updated:April 20, 2026
Strawberry GraphQL is a library for creating GraphQL APIs. Prior to 0.312.3, Strawberry GraphQL's WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols allocate an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing any limit on the number of active subscriptions per connection. An unauthenticated attacker can open a single WebSocket connection, send connection_init, and then flood subscribe messages with unique IDs. Each message unconditionally spawns a new asyncio.Task and async generator, causing linear memory growth and event loop saturation. This leads to server degradation or an OOM crash. This vulnerability is fixed in 0.312.3.
Affected Packages
strawberry-graphql (CONDA):
Affected version(s) >=0.114.4 <0.312.3Fix Suggestion:
Update to version 0.312.3https://github.com/strawberry-graphql/strawberry.git (GITHUB):
Affected version(s) >=0.5.6 <0.312.3Fix Suggestion:
Update to version 0.312.3strawberry-graphql (PYTHON):
Affected version(s) >=0.1.0 <0.312.3Fix Suggestion:
Update to version 0.312.3strawberry-graphql (PYTHON):
Affected version(s) >=0.1.0 <0.312.3Fix Suggestion:
Update to version 0.312.3Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.06