{"id":"CVE-2026-35526","published":"2026-04-07T15:23:36Z","modified":"2026-04-08T14:55:58Z","title":"Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions","vendor":"strawberry-graphql","product":"strawberry","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00285,"percentile":0.21548,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-hv3w-m4g2-5x77","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.31},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"strawberry-graphql","affectedVersions":[{"vendor":"strawberry-graphql","product":"strawberry","versions":["< 0.312.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-08T14:55:45.309490Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"strawberry-graphql","vulnerableRanges":["<0.312.3"],"patched":["0.312.3"],"from":["GHSA-hv3w-m4g2-5x77","PYSEC-2026-134"],"provenance":"source"}],"summary":{"text":"Strawberry GraphQL, a Python library for building GraphQL APIs, has an unbounded resource allocation flaw in its WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols, where no limit is placed on active subscriptions per connection. An unauthenticated remote attacker needs only a single WebSocket connection, sending connection_init followed by a flood of subscribe messages, to force unlimited task and memory allocation, degrading or crashing the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:55Z"},"euvd":{"id":"EUVD-2026-19717","exploited":false,"provenance":"source"}}