Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35526: CWE-770: Allocation of Resources Without Limits or Throttling in strawberry-graphql strawberry

0
High
VulnerabilityCVE-2026-35526cvecve-2026-35526cwe-770
Published: Tue Apr 07 2026 (04/07/2026, 15:23:36 UTC)
Source: CVE Database V5
Vendor/Project: strawberry-graphql
Product: 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

AILast updated: 04/07/2026, 16:16:35 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses