Read the docs

Strawberry legacy graphql-ws retains completed subscription slots

Priority MEDIUM 51CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

Strawberry GraphQL from 0.312.3 before 0.327.2 keeps naturally completed operations in the legacy graphql-ws handler's tracking, a resource exhaustion flaw (CWE-400). A remote client without privileges can fill a connection's subscription slots with one-shot subscriptions, so later operations fail with "Subscription limit reached". The modern graphql-transport-ws protocol and deployments without a per-connection cap are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0043 37th percentileScored 2026-11-07
Fix Partial strawberry (strawberry-graphql): 0.327.2strawberry-graphql (PyPI): 0.327.2Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
strawberry-graphqlstrawberry0.312.3 to before 0.327.20.327.2Patch availableCNA
—strawberry-graphql (PyPI)0.312.3 to before 0.327.20.327.2Patch availableGHSA-m952-2w3f-6r8h
  • strawberry Vendorstrawberry-graphql Affected 0.312.3 to before 0.327.2 Fixed in 0.327.2 Patch available CNA
  • strawberry-graphql (PyPI) Vendor— Affected 0.312.3 to before 0.327.2 Fixed in 0.327.2 Patch available GHSA-m952-2w3f-6r8h

Remediation

Upgrade strawberry-graphql on PyPI to version 0.327.2, which fixes this flaw. Red Hat rates it Low and lists Exploit Intelligence as affected with no fix planned.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA strawberry (strawberry-graphql) Fixed in 0.327.2
  • Fix · GHSA-m952-2w3f-6r8h strawberry-graphql (PyPI) Fixed in 0.327.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Exploit IntelligenceAffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-09 Threatist record created from CVE-2026-107727
  2. 2026-10-09 Alias added: GHSA-m952-2w3f-6r8h
  3. 2026-10-09 Fix available: PyPI/[email protected] · GHSA-m952-2w3f-6r8h
  4. 2026-10-09 CVSS score added · GHSA-m952-2w3f-6r8h
  5. 2026-10-09 Weakness changed · GHSA-m952-2w3f-6r8h
  6. 2026-10-09 6 new references · GHSA-m952-2w3f-6r8h
  7. 2026-10-13 CISA SSVC decision points changed
  8. 2026-10-13 Priority changed: LOW → MEDIUM

References

  • TI-2026-69808 Strawberry GraphQL permission check can bypass with awaitable results CVSS 3.1HIGH 7.5
  • TI-2026-35210 Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification CVSS 3.1MEDIUM 5.3
  • TI-2026-35209 Strawberry GraphQL has a Circular Fragment Reference DOS CVSS 3.1MEDIUM 5.3
  • TI-2009-01689 Directory traversal vulnerability in plugins/ddb/foot.php in Strawberry 1.1.1 allows… CVSS 2.0HIGH 9.3
  • TI-2026-27641 Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions CVSS 3.1HIGH 7.5
  • TI-2026-27639 Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol CVSS 3.1HIGH 7.5
See all 9 →

Sources