WebSocket Subscription Vulnerability in Strawberry GraphQL Library
CVE-2026-35526

7.5HIGH

Key Information:

Vendor
CVE Published:
7 April 2026

What is CVE-2026-35526?

The Strawberry GraphQL library, used for building GraphQL APIs, contains an improper resource management vulnerability related to WebSocket subscription handlers. Prior to version 0.312.3, the library lacked controls on the number of active subscriptions per WebSocket connection. This flaw enables unauthenticated attackers to establish a single connection and inundate the server with subscribe messages, each creating a new asyncio.Task and async generator without limits. This can lead to significant memory use and can degrade server performance, potentially resulting in an out-of-memory crash.

Affected Version(s)

strawberry < 0.312.3

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.