Strawberry legacy graphql-ws retains completed subscription slots
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| strawberry-graphql | strawberry | 0.312.3 to before 0.327.2 | 0.327.2 | Patch available | CNA |
| — | strawberry-graphql (PyPI) | 0.312.3 to before 0.327.2 | 0.327.2 | Patch available | GHSA-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 →
| Product | Status | Plan or fix |
|---|---|---|
| Exploit Intelligence | Affected | No fix planned: Out of support scope |
Timeline
- 2026-10-09 Threatist record created from CVE-2026-107727
- 2026-10-09 Alias added: GHSA-m952-2w3f-6r8h
- 2026-10-09 Fix available: PyPI/[email protected] · GHSA-m952-2w3f-6r8h
- 2026-10-09 CVSS score added · GHSA-m952-2w3f-6r8h
- 2026-10-09 Weakness changed · GHSA-m952-2w3f-6r8h
- 2026-10-09 6 new references · GHSA-m952-2w3f-6r8h
- 2026-10-13 CISA SSVC decision points changed
- 2026-10-13 Priority changed: LOW → MEDIUM
References
Other 5
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-m952-2w3f-6r8h
- https://github.com/strawberry-graphql/strawberry/pull/4610
- https://github.com/strawberry-graphql/strawberry/commit/24c5e46d57f7ad4f77e6e01fb8ae482dd1c0ff92
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.327.2
- https://github.com/strawberry-graphql/strawberry
More strawberry-graphql vulnerabilities
- 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
Sources
- CVE-2026-107727 · CVE Program
- CVE-2026-107727 · NVD
- FIRST EPSS
- GHSA-m952-2w3f-6r8h · GitHub Advisory Database · CC BY 4.0
- CVE-2026-107727 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences