Skip to main content
← All vulnerabilities
CVE-2026-107727PYSEC-2026-4302GHSA-M952-2W3F-6R8H

Strawberry legacy graphql-ws retains naturally completed subscription slots

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.327.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • strawberry-graphql strawberry

    From 0.312.3 · fixed in 0.327.2

  • strawberry-graphqlPyPI

    From 0.312.3 · fixed in 0.327.2

References 4

GitHub · strawberry-graphql/strawberry