Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-107727 EUVD-2026-95391GHSA-m952-2w3f-6r8hPYSEC-2026-4302

Strawberry legacy graphql-ws retains naturally completed subscription slots

Published Oct 8, 2026 · Updated Oct 13, 2026 · Assigned by GitHub_M

Description

Strawberry GraphQL is a library for creating GraphQL APIs. From 0.312.3 until 0.327.2, the legacy graphql-ws subscription handler in strawberry/subscriptions/protocols/graphql_ws/handlers.py does not remove naturally completed operations from self.tasks and self.subscriptions. When max_subscriptions_per_connection is configured, a client on a persistent WebSocket connection can use distinct operation IDs for one-shot subscriptions to fill the connection's configured slots even after those subscriptions send complete, causing later legitimate operations on that connection to be rejected with Subscription limit reached. The modern graphql-transport-ws protocol and deployments without the configured per-connection cap are not affected. This issue is fixed in version 0.327.2.

Affected products

VendorProductAffectedFixed
strawberry-graphql strawberry >= 0.312.3, < 0.327.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI strawberry-graphql >= 0.312.3, < 0.327.2 0.327.2 GHSA-m952-2w3f-6r8h

References