Skip to content
Heist/ feed
Low

Strawberry legacy graphql-ws retains naturally completed subscription slots

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-107727

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107727

strawberry

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "strawberry-graphql",
    "product": "strawberry",
    "versions": [
      {
        "status": "affected",
        "version": ">= 0.312.3, < 0.327.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-107727

Source reference: /cveMetadata/cveId

Publisher severity

low

Source reference: /containers/cna/metrics

Event
#20382 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement