CVE-2026-35526
published high CVSS 3.1 · 7.5Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| strawberry-graphql | — | strawberry< 0.312.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| strawberry-graphql | strawberry | < 0.312.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
1Provider assertions
2GitHub_M · cna
Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce222dc70b0bd3d6a8fd31bd3b0f8dd4d9d4c4a315462882c2aa75357ce70edd
- Ingested
- 23 Sep 2026, 09:11:49 UTC
- Source record
- Official CVE record