Live threats

All CVEs / Strawberry

CVE-2026-35526Strawberry Graphql

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strawberry Graphql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
strawberrystrawberry_graphql< 0.312.3

Official sources

References

Links published by the sources. Open them with care.