---
id: CVE-2026-107727
title: Strawberry GraphQL is a library for creating GraphQL APIs
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…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-400
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T23:16:58.010'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107727'
references:
  - url: >-
      https://github.com/strawberry-graphql/strawberry/commit/24c5e46d57f7ad4f77e6e01fb8ae482dd1c0ff92
    label: security-advisories@github.com
  - url: 'https://github.com/strawberry-graphql/strawberry/pull/4610'
    label: security-advisories@github.com
  - url: 'https://github.com/strawberry-graphql/strawberry/releases/tag/0.327.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-m952-2w3f-6r8h
    label: security-advisories@github.com
tags:
  - nvd
ingestedAt: '2026-10-09T00:19:50.969Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
