CVE-2026-35526Strawberry Graphql
High 7.5 No auth needed
Follow: this CVE · Strawberry · Strawberry Graphql We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 7, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Strawberry Graphql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | strawberry-graphql |
< 0.312.3 |
0.312.3 |
pip install "strawberry-graphql>=0.312.3" |
| PyPI | strawberry-graphql |
< 0.312.3 |
0.312.3 |
pip install "strawberry-graphql>=0.312.3" |
Per OSV / GitHub Advisories (GHSA-hv3w-m4g2-5x77, PYSEC-2026-134). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strawberry | strawberry_graphql | < 0.312.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory