CVE-2026-35526: CWE-770: Allocation of Resources Without Limits or Throttling in strawberry-graphql strawberry
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.
AI Analysis
Technical Summary
Strawberry GraphQL's WebSocket subscription handlers for both graphql-transport-ws and legacy graphql-ws protocols create an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing limits on active subscriptions per connection. An unauthenticated attacker can exploit this by opening a single WebSocket connection and sending numerous subscribe messages with unique IDs, causing unbounded resource allocation. This results in linear memory consumption and event loop saturation, degrading server performance or causing an out-of-memory crash. The vulnerability is addressed in Strawberry GraphQL version 0.312.3.
Potential Impact
An unauthenticated attacker can cause denial of service by exhausting server resources through unlimited subscription requests over a single WebSocket connection. This leads to server degradation or crashes due to out-of-memory conditions. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade Strawberry GraphQL to version 0.312.3 or later, where this vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is resolved in 0.312.3. Until upgraded, consider implementing external rate limiting or connection throttling at the network or application gateway level to mitigate resource exhaustion.
CVE-2026-35526: CWE-770: Allocation of Resources Without Limits or Throttling in strawberry-graphql strawberry
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Strawberry GraphQL's WebSocket subscription handlers for both graphql-transport-ws and legacy graphql-ws protocols create an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing limits on active subscriptions per connection. An unauthenticated attacker can exploit this by opening a single WebSocket connection and sending numerous subscribe messages with unique IDs, causing unbounded resource allocation. This results in linear memory consumption and event loop saturation, degrading server performance or causing an out-of-memory crash. The vulnerability is addressed in Strawberry GraphQL version 0.312.3.
Potential Impact
An unauthenticated attacker can cause denial of service by exhausting server resources through unlimited subscription requests over a single WebSocket connection. This leads to server degradation or crashes due to out-of-memory conditions. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade Strawberry GraphQL to version 0.312.3 or later, where this vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory, but the description confirms the issue is resolved in 0.312.3. Until upgraded, consider implementing external rate limiting or connection throttling at the network or application gateway level to mitigate resource exhaustion.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-03T02:15:39.281Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d52a46aaed68159a30f8a7
Added to database: 4/7/2026, 4:01:10 PM
Last enriched: 4/7/2026, 4:16:35 PM
Last updated: 4/8/2026, 12:46:43 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.