{"cve":"CVE-2026-35526","nvd":{"published":"2026-04-07T16:16:28.843","modified":"2026-06-17T10:40:43.620","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-hv3w-m4g2-5x77"],"products":["strawberry:strawberry_graphql"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-35526","score":0.00274,"percentile":0.19887,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hv3w-m4g2-5x77","url":"https://osv.dev/vulnerability/GHSA-hv3w-m4g2-5x77","summary":"strawberry-graphql: Denial of Service via unbounded WebSocket subscriptions","modified":"2026-06-08T20:00:09.849744509Z","packages":[{"ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":["<0.312.3"],"fixed":["0.312.3"]}]},{"id":"PYSEC-2026-134","url":"https://osv.dev/vulnerability/PYSEC-2026-134","summary":"","modified":"2026-05-20T09:19:17.728561Z","packages":[{"ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":["<0.312.3"],"fixed":["0.312.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}